![]() |
floating toolbar |
Post Reply
|
| Author | |
SunnyGomting
Newbie
Joined: 24 October 2008 Status: Offline Points: 1 |
Post Options
Thanks(0)
Quote Reply
Topic: floating toolbarPosted: 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
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 27 October 2008 at 3:24am |
|
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 |