Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Property Grid
  New Posts New Posts RSS Feed - toolbar height
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

toolbar height

 Post Reply Post Reply
Author
Message
Osiris View Drop Down
Groupie
Groupie
Avatar

Joined: 18 June 2007
Status: Offline
Points: 29
Post Options Post Options   Thanks (0) Thanks(0)   Quote Osiris Quote  Post ReplyReply Direct Link To This Post Topic: toolbar height
    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
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: 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
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.188 seconds.