Call to emulate click the x caption button on pane |
Post Reply |
Author | |
nguyena1
Groupie Joined: 28 November 2005 Status: Offline Points: 16 |
Post Options
Thanks(0)
Posted: 18 November 2009 at 10:26am |
Is there a nice clean call I can make that emulates hitting the x button to close a pane.
I don't see anything in dockingpanemanager that will emulate this exactly. Would be nice because - if pane is docked, then the tabbedcontainer automatically handles telling panemanager onaction calls with closing, and closed - if pane is floated, then the miniwnd class has protected onclose function that handles the closing of the panes. Would be nice if there is a single call somewhere that emulates hitting the x button with desired pane as a parameter. Note: I've tried CXTPDockingPaneManager::ClosePane() but that doesn't make all the same calls afterwards, such as the OnDockingPaneNotify message pump to mainfrm. |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |