Print Page | Close Window

Maximize/Restore Floating Pane

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=6127
Printed Date: 12 December 2024 at 9:43am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Maximize/Restore Floating Pane
Posted By: fishy
Subject: Maximize/Restore Floating Pane
Date Posted: 15 January 2007 at 3:48pm
Is there a way to add a maximize/restore and minimize button to a floating pane?

- fishy



Replies:
Posted By: fatbone77
Date 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



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