Returns the index of the first displayed column.
C
int WINAPI SftBox_GetFirstDisplayColumn(HWND hwndCtl);
C++
int CSftBox::GetFirstDisplayColumn() const;
hwndCtl
The window handle of the combo box control.
GetFirstDisplayColumn returns the zero-based display column number of the first displayed column.
The GetFirstDisplayColumn function returns the index of the first displayed column.
The first column in display order with a width greater than 0 (see SFTBOX_COLUMN) is considered the first displayed column. It is not necessarily visible if horizontal scrolling is in effect. A column can be made visible using MakeColumnVisible.
While most other functions use real column numbers, GetFirstDisplayColumn returns the display column number of the first displayed column. The display column number can be translated to a real column number using GetRealColumn.
See Also C/C++ API | Categories | Notifications