![]() |
floating toolbar |
Post Reply ![]() |
Author | |
SunnyGomting ![]() Newbie ![]() Joined: 24 October 2008 Status: Offline Points: 1 |
![]() ![]() ![]() ![]() ![]() Posted: 24 October 2008 at 11:00am |
Hi,
I made a floating toolbar as following.
But it located (0,0) position when it is floated first.
I wnat to move it to (x,y) position like movewindow function.
How can I do?
CXTPToolBar* pToolBar = pCommandBars->Add(_T("Main"), xtpBarTop);
if (!pToolBar || !pToolBar->LoadToolBar(IDR_MAIN_TOOLBAR)) return; pToolBar->EnableDocking(xtpFlagFloating);pToolBar->SetPosition(xtpBarFloating); And can I made a toolbar without a blue frame while floating?
Thanks.
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Just add pToolBar->MoveWindow(...);
|
|
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 |