void CBCGPMenuBar::EnableHelpCombobox | ( | UINT | uiID, |
LPCTSTR | lpszPrompt = NULL , |
||
int | nComboBoxWidth = 150 |
||
) |
Enables a special "help" combobox at the right side of the menu bar.
Use this function to enable (display) a special "help" combobox at the right side of the menu bar. This combobox looks similar to the help combobox found in Microsoft Word. When you call this function with uID different than 0, a combobox automatically appears at the right side. You can then call GetHelpCombobox() method in order to get access to the inserted CBCGPToolbarComboBoxButton and fill the combobox with required data.
You can disable (hide) the help combobox, if you set uID to 0.
uiID | Specifies the help combo box button command ID. |
lpszPrompt | Specifies the text, which should appear in empty, non-active combo box (like "Enter the text here"). |
nComboBoxWidth | Specifies combo box button width. |