Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - Maximize/Restore Floating Pane
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Maximize/Restore Floating Pane

 Post Reply Post Reply
Author
Message
fishy View Drop Down
Newbie
Newbie
Avatar

Joined: 26 October 2005
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote fishy Quote  Post ReplyReply Direct Link To This Post Topic: Maximize/Restore Floating Pane
    Posted: 15 January 2007 at 3:48pm
Is there a way to add a maximize/restore and minimize button to a floating pane?

- fishy
Back to Top
fatbone77 View Drop Down
Newbie
Newbie


Joined: 10 January 2007
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote fatbone77 Quote  Post ReplyReply Direct Link To This Post Posted: 18 January 2007 at 8:58pm
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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.