Print Page | Close Window

Initial size when first floated

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=23227
Printed Date: 19 April 2024 at 6:03am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Initial size when first floated
Posted By: cpede
Subject: Initial size when first floated
Date Posted: 13 December 2016 at 4:29am
How do I set the initial size of a floating pane window, the very first time it is floated.

When I drag my pane windows away from the docked state at the border, the floated window is very small, until I resize it.

-cpede


-------------
Product: Xtreme ToolkitPro (20.3.0)
Platform: Windows 10 (x64)
Language: Visual Studio 2017 (C++)



Replies:
Posted By: Fredrik
Date Posted: 30 January 2017 at 3:08pm
The initial size of the floating pane is given by the CRect argument:
paneManager.CreatePane(IDR_MYPANE, CRect(0, 0, XTP_DPI_X(240), XTP_DPI_Y(400)), xtpPaneDockRight);



-------------
Windows 10, Visual Studio 20157, Toolkit Pro 18.3.0



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