|
|
|
|
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.
Subject |
Author |
Date |
|
Zhang KaiFeng
|
Nov 1, 2005 - 12:09 AM
|
Hello: I Insert a CExtComboBox to a CExtToolControlBar in the method provited in the Prof-UIS Help Files. if( !m_ComboHelpSearch.Create( WS_CHILD | WS_VISIBLE | CBS_DROPDOWN, CRect( 0, 0, 200, 480 ), &m_wndToolBarMain, ID_HELP_SEARCH_COMBO ) || !m_wndToolBarMain.SetButtonCtrl( m_wndToolBarMain.CommandToIndex( m_ComboHelpSearch.GetDlgCtrlID() ), &m_ComboHelpSearch ) ) { TRACE0("Failed to create help search combobox\n" ); return -1; }
m_ComboHelpSearch.SetItemHeight( -1, 16 );
m_ComboHelpSearch.SetFont( &g_PaintManager->m_FontNormal ); g_CmdManager->CmdGetPtr( m_ComboHelpSearch.GetDlgCtrlID() )-> m_sMenuText = _T( "Search help system" ); I run the Application,it work well. but I lost the tooltip of the m_ComboHelpSearch bar button! why?? please help me, thank you!!
|
|
Technical Support
|
Nov 1, 2005 - 7:21 AM
|
The combo box window is a standalone control inserted into the toolbar. The toolbar window just aligns its position as it is does this for all its other buttons. The combo box tooltip hasnothing to do with the toolbar button’s tooltip. So, please invoke the CExtComboBox::SetTooltipText() method to assign some tooltip text to the combo box window.
|
|
Zhang KaiFeng
|
Nov 1, 2005 - 6:39 PM
|
Dear: I try it on your advice,but it still don’t work.In addition, I use CExtHyperLinkButton class to create a hyperlink on my about dialog, I can’t get the tooltip window too! what and how can I do? I sent a email to you, there is a demo project, please check it. thank you very much.
|
|
Technical Support
|
Nov 3, 2005 - 9:50 AM
|
We tested your project and found no errors. The tooltip over the combo box in the toolbar is displayed. The tooltips over the hyperlinks in the About dialog are also displayed. Please let us know what version of Prof-UIS are you using? All the tests have done with Prof-UIS 2.50 (just released).
|
|