Defines whether the last column is open-ended.
C
BOOL WINAPI SftBox_GetOpenEnded(HWND hwndCtl); void WINAPI SftBox_SetOpenEnded(HWND hwndCtl, BOOL fSet);
C++
BOOL CSftBox::GetOpenEnded() const; void CSftBox::SetOpenEnded(BOOL fSet);
hwndCtl
The window handle of the combo box control.
fSet
Set to TRUE to define the last column as open-ended. Set to FALSE to use the column width defined in the last column's SFTBOX_COLUMN structure.
GetOpenEnded returns TRUE if the last column is open-ended, otherwise FALSE is returned.
The GetOpenEnded and SetOpenEnded functions define whether the last column is open-ended.
An open-ended last column always uses at least the defined column width or the space remaining between the previous column and the right edge of the static portion or dropdown portion. A fixed-width last column is defined with a specified width and any data which doesn't fit is truncated.
The setting applies to the static portion and the dropdown portion of the combo box control.
By default, the last column of a combo box is open-ended.
See Also C/C++ API | Categories | Notifications