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 » CExtTabMdiWnd and title updates Collapse All
Subject Author Date
Ed Kennedy Jan 16, 2005 - 1:37 PM

I’m adding an * onto document titles when they are modified.  I’m also using a

CExtTabMdiWnd which only changes it’s title when I click on it.  I’ve derived a class from CExtTabMdiWnd and overridden OnTabWndQueryItemText however that doesn’t keep it up to date.  What is the best way to keep the titles synched?

Technical Support Jan 17, 2005 - 1:49 AM

If you modifies the title of the main frame window, you also need to explicitly update the MDI tab control by invoking pMdiTabs->UpdateTabWnd. This recalculates layout of all visible tab items.