How to set the positionXY of Floating CXTPToolBar |
Post Reply |
Author | |
hikaroute
Groupie Joined: 05 September 2007 Status: Offline Points: 51 |
Post Options
Thanks(0)
Posted: 09 November 2007 at 5:41am |
I set the PositionCXTPToolBar to xtpBarFloating, then the toolbar is floated. But it show on the origin point - x,y(0,0). How can I set the positionXY of the toolbar?
Thank you again.
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
MoveWindow ? :)
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Tomasz
Senior Member Joined: 05 August 2006 Status: Offline Points: 109 |
Post Options
Thanks(0)
|
I have one feature request by the way: to be able to create docking pane as FLOATING. Currently it is impossible (AFAIK) and one needs to create it as docked and then float it like this:
CXTPDockingPane* pwndPane = m_paneManager.CreatePane(
nID, CRect(0,0,0,0), (XTPDockingPaneDirection)4, m_paneManager.GetClientPane()); m_paneManager.FloatPane(pwndPane, oOrigRect ); I would love to see new XTPDockingPaneDirection constant that would allow immediate floating pane creation .
|
|
hikaroute
Groupie Joined: 05 September 2007 Status: Offline Points: 51 |
Post Options
Thanks(0)
|
To: oleg
I mean moving toolbar, because if I set the toolbar to be the floating toolbar it will stand on the XY(0,0) always.
To Tamasz:
Um... I think we have the easiest way to creat the floating toolbar. I don't know why?
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hikaroute,
Just call pToolBar->MoveWindow or pToolBar->SetWindowPos to move it.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
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 |