xtd 0.2.0
Loading...
Searching...
No Matches
combo box styles

Definition

combo box styles definitions.

Warning
Internal use only

Variables

constexpr size_t CBS_SIMPLE
 Displays the list box at all times. The current selection in the list box is displayed in the edit control.
 
constexpr size_t CBS_DROPDOWN
 Similar to CBS_SIMPLE, except that the list box is not displayed unless the user selects an icon next to the edit control.
 
constexpr size_t CBS_DROPDOWNLIST
 Similar to CBS_DROPDOWN, except that the edit control is replaced by a static text item that displays the current selection in the list box.
 
constexpr size_t CBS_OWNERDRAWFIXED
 Specifies that the owner of the list box is responsible for drawing its contents and that the items in the list box are all the same height. The owner window receives a WM_MEASUREITEM message when the combo box is created and a WM_DRAWITEM message when a visual aspect of the combo box has changed.
 
constexpr size_t CBS_OWNERDRAWVARIABLE
 Specifies that the owner of the list box is responsible for drawing its contents and that the items in the list box are variable in height. The owner window receives a WM_MEASUREITEM message for each item in the combo box when you create the combo box and a WM_DRAWITEM message when a visual aspect of the combo box has changed.
 
constexpr size_t CBS_AUTOHSCROLL
 Automatically scrolls the text in an edit control to the right when the user types a character at the end of the line. If this style is not set, only text that fits within the rectangular boundary is allowed.
 
constexpr size_t CBS_OEMCONVERT
 Converts text entered in the combo box edit control from the Windows character set to the OEM character set and then back to the Windows character set. This ensures proper character conversion when the application calls the CharToOem function to convert a Windows string in the combo box to OEM characters. This style is most useful for combo boxes that contain file names and applies only to combo boxes created with the CBS_SIMPLE or CBS_DROPDOWN style.
 
constexpr size_t CBS_SORT
 Automatically sorts strings added to the list box.
 
constexpr size_t CBS_HASSTRINGS
 Specifies that an owner-drawn combo box contains items consisting of strings. The combo box maintains the memory and address for the strings so the application can use the CB_GETLBTEXT message to retrieve the text for a particular item.
 
constexpr size_t CBS_NOINTEGRALHEIGHT
 Specifies that the size of the combo box is exactly the size specified by the application when it created the combo box. Normally, the system sizes a combo box so that it does not display partial items.
 
constexpr size_t CBS_DISABLENOSCROLL
 Shows a disabled vertical scroll bar in the list box when the box does not contain enough items to scroll. Without this style, the scroll bar is hidden when the list box does not contain enough items.
 
constexpr size_t CBS_UPPERCASE
 Converts to uppercase all text in both the selection field and the list.
 
constexpr size_t CBS_LOWERCASE
 Converts to lowercase all text in both the selection field and the list.
 

Variable Documentation

◆ CBS_SIMPLE

constexpr size_t CBS_SIMPLE
constexpr

#include <xtd.forms.native/include/xtd/forms/native/combo_box_styles.hpp>

Displays the list box at all times. The current selection in the list box is displayed in the edit control.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ CBS_DROPDOWN

constexpr size_t CBS_DROPDOWN
constexpr

#include <xtd.forms.native/include/xtd/forms/native/combo_box_styles.hpp>

Similar to CBS_SIMPLE, except that the list box is not displayed unless the user selects an icon next to the edit control.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ CBS_DROPDOWNLIST

constexpr size_t CBS_DROPDOWNLIST
constexpr

#include <xtd.forms.native/include/xtd/forms/native/combo_box_styles.hpp>

Similar to CBS_DROPDOWN, except that the edit control is replaced by a static text item that displays the current selection in the list box.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ CBS_OWNERDRAWFIXED

constexpr size_t CBS_OWNERDRAWFIXED
constexpr

#include <xtd.forms.native/include/xtd/forms/native/combo_box_styles.hpp>

Specifies that the owner of the list box is responsible for drawing its contents and that the items in the list box are all the same height. The owner window receives a WM_MEASUREITEM message when the combo box is created and a WM_DRAWITEM message when a visual aspect of the combo box has changed.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ CBS_OWNERDRAWVARIABLE

constexpr size_t CBS_OWNERDRAWVARIABLE
constexpr

#include <xtd.forms.native/include/xtd/forms/native/combo_box_styles.hpp>

Specifies that the owner of the list box is responsible for drawing its contents and that the items in the list box are variable in height. The owner window receives a WM_MEASUREITEM message for each item in the combo box when you create the combo box and a WM_DRAWITEM message when a visual aspect of the combo box has changed.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ CBS_AUTOHSCROLL

constexpr size_t CBS_AUTOHSCROLL
constexpr

#include <xtd.forms.native/include/xtd/forms/native/combo_box_styles.hpp>

Automatically scrolls the text in an edit control to the right when the user types a character at the end of the line. If this style is not set, only text that fits within the rectangular boundary is allowed.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ CBS_OEMCONVERT

constexpr size_t CBS_OEMCONVERT
constexpr

#include <xtd.forms.native/include/xtd/forms/native/combo_box_styles.hpp>

Converts text entered in the combo box edit control from the Windows character set to the OEM character set and then back to the Windows character set. This ensures proper character conversion when the application calls the CharToOem function to convert a Windows string in the combo box to OEM characters. This style is most useful for combo boxes that contain file names and applies only to combo boxes created with the CBS_SIMPLE or CBS_DROPDOWN style.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ CBS_SORT

constexpr size_t CBS_SORT
constexpr

#include <xtd.forms.native/include/xtd/forms/native/combo_box_styles.hpp>

Automatically sorts strings added to the list box.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ CBS_HASSTRINGS

constexpr size_t CBS_HASSTRINGS
constexpr

#include <xtd.forms.native/include/xtd/forms/native/combo_box_styles.hpp>

Specifies that an owner-drawn combo box contains items consisting of strings. The combo box maintains the memory and address for the strings so the application can use the CB_GETLBTEXT message to retrieve the text for a particular item.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ CBS_NOINTEGRALHEIGHT

constexpr size_t CBS_NOINTEGRALHEIGHT
constexpr

#include <xtd.forms.native/include/xtd/forms/native/combo_box_styles.hpp>

Specifies that the size of the combo box is exactly the size specified by the application when it created the combo box. Normally, the system sizes a combo box so that it does not display partial items.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ CBS_DISABLENOSCROLL

constexpr size_t CBS_DISABLENOSCROLL
constexpr

#include <xtd.forms.native/include/xtd/forms/native/combo_box_styles.hpp>

Shows a disabled vertical scroll bar in the list box when the box does not contain enough items to scroll. Without this style, the scroll bar is hidden when the list box does not contain enough items.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ CBS_UPPERCASE

constexpr size_t CBS_UPPERCASE
constexpr

#include <xtd.forms.native/include/xtd/forms/native/combo_box_styles.hpp>

Converts to uppercase all text in both the selection field and the list.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ CBS_LOWERCASE

constexpr size_t CBS_LOWERCASE
constexpr

#include <xtd.forms.native/include/xtd/forms/native/combo_box_styles.hpp>

Converts to lowercase all text in both the selection field and the list.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only