Toolbar size |
Post Reply |
Author | |
FrankC
Groupie Joined: 04 September 2008 Location: United States Status: Offline Points: 35 |
Post Options
Thanks(0)
Posted: 29 December 2008 at 5:48pm |
I am trying to get the current toolbar layout size (not including the hidden buttons). Which routine should I use?
Are the following calls should be correct ones? If so, what is the exact meaning of nLength, dwMode and nWidth of the required parameters? CSize CXTPToolBar::CalcDockingLayout(int nLength, DWORD dwMode) and CSize CXTPToolBar::CalcDockingLayout(int nLength, DWORD dwMode, int nWidth = 0); Thanks, Frank |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Yes, it calculates size od Toolbar.
From our sample:
CSize sz = m_wndToolBar.CalcDockingLayout(cx, LM_HIDEWRAP| LM_HORZDOCK|LM_HORZ | LM_COMMIT);
|
|
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 |