Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » Changing tabbed toolbar on the fly Collapse All
Subject Author Date
Alex Makarov Oct 18, 2006 - 10:19 AM

I have implemented run-time tabbed toolbar style changing the way you suggested. Now a newly created toolbar appears shrinked so user has to extend it manualy. Any thoughts how I can fix it?
Thanks.

Alex Makarov Oct 23, 2006 - 3:55 PM

I do call CFrameWnd::RecalcLayout() method after recreating bar. I e-mailed the screenshots of shrinked and normal bar.
But I just discovered another problem, this part of my code does not work any more. I did some changes and it is hard to find what might couse this. Maybe you can suggest where to look: I’ve got Assertion Failed in ASSERT( m_buttons[nBtnIdx] != NULL ); from ExtToolControlBar.cpp.
Than you.

Technical Support Oct 21, 2006 - 11:37 AM

Please make sure you invoke the CFrameWnd::RecalcLayout() method of the main frame window after recreating tabbed bars. Would you send us (at support@prof-uis.com) a screenshot which demonstrates the bar(s) with an incorrect size and/or location.

Alex Makarov Oct 25, 2006 - 8:07 AM

I do call CFrameWnd::RecalcLayout() method after recreating bar. I e-mailed the screenshots of shrinked and normal bar.
But I just discovered another problem, this part of my code does not work any more. I did some changes and it is hard to find what might couse this. Maybe you can suggest where to look: I’ve got Assertion Failed in ASSERT( m_buttons[nBtnIdx] != NULL ); from ExtToolControlBar.cpp.
Than you.