Scrolls the specified column into view horizontally so that it is displayed in the combo box control.
C
void WINAPI SftBox_MakeColumnVisible(HWND hwndCtl, int col);
C++
void CSftBox::MakeColumnVisible(int col);
hwndCtl
The window handle of the combo box control.
col
The zero-based column number of the column to make visible.
The MakeColumnVisible function scrolls the specified column into view horizontally so that it is displayed in the combo box control.
MakeColumnVisible can be used to make a column visible by scrolling it into view (horizontally). The user normally scrolls the items in the dropdown portion horizontally using the scroll bar, but an application can use MakeColumnVisible to ensure that a column is visible. The static portion is scrolled to the same horizontal position as the dropdown portion.
The current horizontal scrolling position can be retrieved using GetHorizontalOffset.
To make an item visible, use MakeRowVisible.
See Also C/C++ API | Categories | Notifications