![]() |
CXTPMenuBar/CXTPToolBar cy-size ??? |
Post Reply ![]() |
Author | |
hpesata ![]() Groupie ![]() Joined: 16 July 2004 Status: Offline Points: 60 |
![]() ![]() ![]() ![]() ![]() Posted: 17 March 2005 at 7:58am |
Hi!
Xtreme Tookit pro 9601: In my app I am using a horizontal menubar with xtpFlagStretched and a horizontal toolbar also with xtpFlagStretched. how can I correctly calculate the actual cy-size of my menubar/toolbar including any possibly wrapped items ? I tried using CalcDockingLayout() and CalcDynamicLayout() but I am not able to get correct values using these functions. any help with this would be greatly appreciated! thanx in advance! bets regards, Hans |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
you can simply call CRect rc pMenuBar->GetWindowRect(&rc); cy = rc.Height(); |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
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 |