HeaderPane
Main
Hide
Share Link
Print

FirstDisplayColumn

Returns the index of the first displayed column.

C

int WINAPI SftBox_GetFirstDisplayColumn(HWND hwndCtl);

C++

int CSftBox::GetFirstDisplayColumn() const;

Parameters

hwndCtl

The window handle of the combo box control.

Returns

GetFirstDisplayColumn returns the zero-based display column number of the first displayed column.

Comments

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


Last Updated 11/21/2026 - (email)
© 2026 Softel vdm, Inc.