[Closed] Question: Show / Hide Logic |
Post Reply |
Author | |
Simon HB9DRV
Senior Member Joined: 07 July 2005 Location: Switzerland Status: Offline Points: 458 |
Post Options
Thanks(0)
Posted: 22 October 2005 at 5:04am |
Imagine a standard MDI application with a single docking window where the docking window (the CodeJock calendar) is displayed and selected: The question: as the calendar is active, what should you user do to hide it? I've not really come up with a good solution other than: Edited by Simon HB9DRV |
|
Simon HB9DRV
|
|
Simon HB9DRV
Senior Member Joined: 07 July 2005 Location: Switzerland Status: Offline Points: 458 |
Post Options
Thanks(0)
|
FWIW I have looked at CXTPDockingPaneAutoHidePanel::OnLButtonDown and changed the logic so that clicking on the tab of a selected pane which has focus results in the pane being closed, this way I have acheived what I want. // } else |
|
Simon HB9DRV
|
|
mrmathis
Senior Member Joined: 17 May 2007 Location: United States Status: Offline Points: 105 |
Post Options
Thanks(0)
|
I was looking for a way to cause a pane with focus to collapse, and this fit my bill. I implemented it by subclassing CXTPDockingPaneAutoHidePanel and catching OnLButtonDown, rather than changing Codejock code. I'm not wild about either approach, though, since both leave me vulnerable to changes from Codejock. Since the original posts are old, I'm wondering whether some better way to do this might be available now?
|
|
--Mike
|
|
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 |