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 Tech Support » How To Have CExtTabMdiWnd Recalculate Its Layout Collapse All
Subject Author Date
David Baginski Aug 11, 2005 - 7:12 AM

I"m using the CExtTabMdiOneNoteWnd class and adding the customary " *" to the document title when it is dirty. I’d like to know how to update the tab bar to accomidate the increased lenght of the document title. I tried calling Invalidate() which did update the MDI tab with a "..." since it could not accomidate the new length, but I can I get the MDI tab to recalculate its layout as well.

Technical Support Aug 11, 2005 - 11:52 AM

Please invoke the UpdateTabWnd( true ) method of the CExtTabMdiOneNoteWnd class instance. This method synchronizes all the tab items and remeasures them.