Print Page | Close Window

toolbar height

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Property Grid
Forum Description: Topics Related to Codejock Property Grid
URL: http://forum.codejock.com/forum_posts.asp?TID=11757
Printed Date: 01 July 2024 at 7:09pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: toolbar height
Posted By: Osiris
Subject: toolbar height
Date Posted: 07 August 2008 at 11:10am
Hi there,

I've got a property grid with its toolbar. I use my own toolbar via grid.GetToolBar().LoadToolBar(ID_MY_OWN_TOOLBAR) .

With grid.GetToolBar().SetSizes( szBtn, szImg ); I can set the picture and the buttons sizes to be used in the toolbar. But the toolbars height itself is not adjusted, so that not the whole toolbar buttons are visible (look at screenshot).



I tried grid..GetToolBar().SetHeight( ) but it doesnt help.
Do you have any suggestions what is done wrong?

Thanks in advance
Stefan



Replies:
Posted By: Oleg
Date Posted: 08 August 2008 at 6:38am
Hi,
 
Afraid for  standard toolbar always reserved 25 pixels :(
You can try our CXTPToolBar instead. See Samples\UserInterface\GUI_VisualStudio  sample.


-------------
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