![]() |
Maximize/Restore Floating Pane |
Post Reply ![]() |
Author | |
fishy ![]() Newbie ![]() ![]() Joined: 26 October 2005 Status: Offline Points: 17 |
![]() ![]() ![]() ![]() ![]() Posted: 15 January 2007 at 3:48pm |
Is there a way to add a maximize/restore and minimize button to a floating pane?
- fishy |
|
![]() |
|
fatbone77 ![]() Newbie ![]() Joined: 10 January 2007 Status: Offline Points: 8 |
![]() ![]() ![]() ![]() ![]() |
1. inherit from CXTPDockingPaneMiniWnd, let's say yourPaneMiniWnd.
2. inherit from CXTPDockingPaneManager and overvide OnCreatePane, and return your new yourPaneMiniWnd when the type is xtpPaneTypeMiniWnd 3. in yourPaneMiniWnd, add two buttons CSIWndPaneCaptionButton |
|
![]() |
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 |