HeaderPane
Main
Hide
Share Link
Print

RowInfo

Defines an item's row header attributes.

C

BOOL WINAPI SftBox_GetRowInfo(HWND hwndCtl, LPSFTBOX_ROWINFOPARM lpRowParm);
BOOL WINAPI SftBox_SetRowInfo(HWND hwndCtl, LPCSFTBOX_ROWINFOPARM lpRowParm);

C++

BOOL CSftBox::GetRowInfo(LPSFTBOX_ROWINFOPARM lpRowParm) const;
BOOL CSftBox::SetRowInfo(LPCSFTBOX_ROWINFOPARM lpRowParm);

Parameters

hwndCtl

The window handle of the combo box control.

lpRowParm

A pointer to a SFTBOX_ROWINFOPARM structure. The index member defines the item. The Row member returns the item's row header attributes (GetRowInfo) or contains the new row header attributes for the item (SetRowInfo).

Returns

The return value is TRUE if the function is successful, FALSE if an error occurred, for example if the item index is invalid.

Comments

The GetRowInfo and SetRowInfo functions define an item's row header attributes.

To modify a row header's attributes, the GetRowInfo function is used to retrieve its current attributes. The SFTBOX_ROW structure, part of the SFTBOX_ROWINFOPARM structure, can then be modified, setting the desired attributes. Finally, the row header is updated by a call to the SetRowInfo function.

If the item is the currently selected item, the static portion is updated also.

If the index member of the SFTBOX_ROWINFOPARM structure is -1, SetRowInfo does not update an item. Instead, the picture defined by the RowPicture1 member of the SFTBOX_ROW structure is used to register the row header picture size, which is used to calculate the item height and the space needed for row header pictures.

Row header text can be retrieved using GetRowText and modified using SetRowText.

Row headers are made visible using SetShowRowHeader.

In a combo box control using a virtual data source, SetRowInfo can only be used to register a row header picture size.

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


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