HeaderPane
Main
Hide
Share Link
Print

RowColHeaderStyle

Defines the position of the text displayed in the row/column header.

C

DWORD WINAPI SftBox_GetRowColHeaderStyle(HWND hwndCtl);
void WINAPI SftBox_SetRowColHeaderStyle(HWND hwndCtl, DWORD style);

C++

DWORD CSftBox::GetRowColHeaderStyle() const;
void CSftBox::SetRowColHeaderStyle(DWORD style);

Parameters

hwndCtl

The window handle of the combo box control.

style

The style used for the row/column header.

One value of each of the following tables can be combined and passed as style parameter.

styleHorizontal row/column header text alignment
not specifiedIf no horizontal row/column header text alignment is specified, the default is ES_LEFT.
ES_LEFTThe row/column header text is left aligned within the row/column header.
ES_CENTERThe row/column header text is centered within the row/column header.
ES_RIGHTThe row/column header text is right aligned within the row/column header.
styleVertical row/column header text alignment
not specifiedIf no vertical row/column header text alignment is specified, the default is SFTBOX_VCENTER.
SFTBOX_TOPThe row/column header text is aligned with the top of the row/column header.
SFTBOX_VCENTERThe row/column header text is vertically centered within the row/column header.
SFTBOX_BOTTOMThe row/column header text is aligned with the bottom of the row/column header.

The style value can optionally be combined with one or more of the following values:

SFTBOX_HEADER_DISABLEDThe row/column header is disabled, cannot be clicked and is displayed in a "grayed" fashion.
SFTBOX_HEADER_UPThe row/column header button will automatically return to its "up" position when clicked.

Returns

GetRowColHeaderStyle returns a value indicating the position of the text displayed in the row/column header.

Comments

The GetRowColHeaderStyle and SetRowColHeaderStyle functions define the position of the text displayed in the row/column header.

The row/column header text can be defined using SetRowColText. The position of the row/column header picture is defined using SetRowColPictureStyle.

The row/column header area is only shown if row headers and column headers are both shown (see SetShowRowHeader and SetShowHeader).

See Also C/C++ API | Categories | Notifications


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