Print Page | Close Window

Closing views in MDI Tabs

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=192
Printed Date: 29 April 2024 at 10:30pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Closing views in MDI Tabs
Posted By: Graham
Subject: Closing views in MDI Tabs
Date Posted: 23 October 2003 at 1:06pm

Apologies if this is as designed, but when I use the close button on the MDI tabs (to the right of the < and > buttons), it closes my document, rather than just the MDI child. This is due to

CXTPTabWorkspace::OnLButtonDown calling

pActiveChildWnd->SendMessage (WM_COMMAND, ID_FILE_CLOSE);

Should this not be

pActiveChildWnd->SendMessage (WM_CLOSE);

Thanks,

Graham




Replies:
Posted By: Oleg
Date Posted: 30 October 2003 at 8:56am

Thanks, Graham

You are right. Fixed.




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