Print Page | Close Window

Close button on the CommandBars.TabWorkspace

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=17673
Printed Date: 03 December 2024 at 2:24pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Close button on the CommandBars.TabWorkspace
Posted By: Dinesh
Subject: Close button on the CommandBars.TabWorkspace
Date Posted: 14 December 2010 at 7:09am
Where do it get the handle for the close button in command bar.




I need to proceed with some message when the close button is clicked.

Please help me out.

Thanks in Advance.





Replies:
Posted By: Oleg
Date Posted: 15 December 2010 at 1:33am
Hi,

In Vuisual Basic you can process it in Form_Unload event.





-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Dinesh
Date Posted: 15 December 2010 at 2:16am
Thanks for your reply.

Im using Visual studio 2008 and MFC 9.0
Can u help out in vc++


Posted By: Oleg
Date Posted: 20 December 2010 at 4:48am
Hi,

So just catch WM_CLOSE in your CChildFrame.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net