Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - Initial size when first floated
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Initial size when first floated

 Post Reply Post Reply
Author
Message
cpede View Drop Down
Senior Member
Senior Member


Joined: 13 August 2004
Status: Offline
Points: 546
Post Options Post Options   Thanks (0) Thanks(0)   Quote cpede Quote  Post ReplyReply Direct Link To This Post Topic: Initial size when first floated
    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 (18.0.1)
Platform: Windows 10 (x64)
Language: Visual Studio 2017 (C++)
Back to Top
Fredrik View Drop Down
Senior Member
Senior Member


Joined: 22 June 2005
Status: Offline
Points: 156
Post Options Post Options   Thanks (0) Thanks(0)   Quote Fredrik Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.094 seconds.