Print Page | Close Window

floating toolbar

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=12528
Printed Date: 23 June 2025 at 5:01pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: floating toolbar
Posted By: SunnyGomting
Subject: floating toolbar
Date 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.
 



Replies:
Posted By: Oleg
Date Posted: 27 October 2008 at 3:24am
Just add pToolBar->MoveWindow(...);

-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net