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 » Using '&' in tab label / CExtTabWnd / disable quick key Collapse All
Subject Author Date
marc uchida Feb 2, 2007 - 1:02 PM

Essentially I have some text with the ’&’ in it. This test gets loaded into the document title, which is also displayed in my document tab label (ie. CExtTabWnd, CExtTabMdiWnd, or CExtTabMdiOneNoteWnd class object).
My label in the tab itself has lost all ’&’ characters and has instead taken its presence as a signal that I want its following character underlined, as per the way Quick Keys in menus function. I know I can replace all ’&’ with ’&&’, but this is not really want I want to do and I thought there must be an option to disable this behaviour instead.
Any ideas?
thanks

Technical Support Feb 22, 2007 - 3:35 AM

We are sorry for the delay with this reply. We were not sure how to implement this feature in Prof-UIS. We can make tab windows displaying underlined characters. But we also need to add an additional API to make appropriate keyboard accelerators working. This means the tab window should be able to participate in message pre-translation routes and eat up the keyboard key combinations relating to the tab item activation. In simple words, your application will be responsible for invoking something like m_wndTabs.TranslateMainFrameMessage( pMsg ) code from the CMainFrame::PreTranslateMessage() virtual method.