Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - floating toolbar
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

floating toolbar

 Post Reply Post Reply
Author
Message
SunnyGomting View Drop Down
Newbie
Newbie


Joined: 24 October 2008
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote SunnyGomting Quote  Post ReplyReply Direct Link To This Post Topic: floating toolbar
    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.
 
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 27 October 2008 at 3:24am
Just add pToolBar->MoveWindow(...);
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.