MiniToolbar Width & Height |
Post Reply |
Author | |
jpbro
Senior Member Joined: 12 January 2007 Status: Offline Points: 1354 |
Post Options
Thanks(0)
Posted: 24 July 2009 at 11:45pm |
When setting the mini-toolbar width property its hard to know how wide to set to account for the frame (especially with different skins). Perhaps we need a SetWidth method for the MiniToolbar object that sets the width of the client area (it is easy to add width of all added controls).
Also, a Height property is required in order to accurately position the toolbar using PopupMiniToolbar Y parameter since the toolbar appears *above* the specified Y position. In my case I need to position the top edge of the minitoolbar *at* the Y position, but this is difficult without knowing the height (I have to resort to ugly magic numbers). |
|
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3 Language: Visual Basic 6.0 SP6 |
|
mgampi
Senior Member Joined: 14 July 2003 Status: Offline Points: 1198 |
Post Options
Thanks(0)
|
Hi;
MFC version has a SetWidth function... |
|
Martin
Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0 Platform: Windows 10 v 1909 (64bit) Language: VC++ 2017 |
|
jpbro
Senior Member Joined: 12 January 2007 Status: Offline Points: 1354 |
Post Options
Thanks(0)
|
Thanks mgampi, maybe it could be exposed in ActiveX by CJ, but I think we need more.
I thought it would be possible to determine the width of the MiniToolbar control using the Controll.Width property, but that always seems to return 0. So what I need:
|
|
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3 Language: Visual Basic 6.0 SP6 |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |