Defines the presence of column headers in the static portion.
C
BOOL WINAPI SftBox_GetShowHeaderMain(HWND hwndCtl); void WINAPI SftBox_SetShowHeaderMain(HWND hwndCtl, BOOL fSet);
C++
BOOL CSftBox::GetShowHeaderMain() const; void CSftBox::SetShowHeaderMain(BOOL fSet);
hwndCtl
The window handle of the combo box control.
fSet
Set to TRUE to show column headers in the static portion, otherwise set to FALSE to hide the column headers.
GetShowHeaderMain returns TRUE if column headers are shown in the static portion, otherwise FALSE is returned.
The GetShowHeaderMain and SetShowHeaderMain functions define the presence of column headers in the static portion.
Column headers can be shown in the static portion, in the dropdown portion (see SetShowHeaderDropDown) or both. The column headers of both portions use the same column definitions (see SetColumns).
The column headers are displayed as buttons if the column header display style is SFTBOX_COLSTYLE_BUTTONTEXT, otherwise they are displayed as titles. The display style is defined using SetHeaderStyle.
SetShowHeader also changes this setting. It shows the column headers in the static portion, or hides them if SFTBOX_COLSTYLE_NONE is used. SFTBOX_COLSTYLE_NONE also hides the column headers in the dropdown portion.
When a combo box is created, no column headers are shown in the static portion (FALSE).
See Also C/C++ API | Categories | Notifications