Print Page | Close Window

how to change the size of the 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=12743
Printed Date: 23 June 2025 at 1:53pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: how to change the size of the toolbar?
Posted By: evoX
Subject: how to change the size of the toolbar?
Date Posted: 20 November 2008 at 2:07pm
I have a toolbar in a propertysheet and I want the toolbar to fill the entire dialog width, is it possible to add spaces between buttons to automatically fill the blank space?
 
Thanks !
 


-------------
Product: Xtreme ToolkitPro 19.30
Platform: Windows 10 64bit
Language: Visual C++ (VS 2019)



Replies:
Posted By: mgampi
Date Posted: 21 November 2008 at 2:49am
Hi,
Try to call pToolBar->EnableDocking(xtpFlagAlignTop|xtpFlagStretched);


-------------
Martin

Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022


Posted By: evoX
Date Posted: 21 November 2008 at 5:39am
Hi,
 
  Thanks, this have stretched the toolbar, but the buttons still remained in the same position.
   Is it possible to the move the buttons to the right ? (because the toolbar is on the bottom of the dialog and it does not look good in the left position)
   Or the best thing would be to add spaces between buttons automatically to fill the space...


-------------
Product: Xtreme ToolkitPro 19.30
Platform: Windows 10 64bit
Language: Visual C++ (VS 2019)



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