xtd 0.2.0
Loading...
Searching...
No Matches
list_box_styles.h
Go to the documentation of this file.
1
4#pragma once
6#if !defined(__XTD_FORMS_NATIVE_LIBRARY__)
7#error "Do not include this file: Internal use only"
8#endif
10
11#include <cstddef>
12
13#if !defined(LBS_NOSEL)
20constexpr size_t LBS_NOTIFY = 0x0001;
27constexpr size_t LBS_SORT = 0x0002;
34constexpr size_t LBS_NOREDRAW = 0x0004;
41constexpr size_t LBS_MULTIPLESEL = 0x0008;
48constexpr size_t LBS_OWNERDRAWFIXED = 0x0010;
55constexpr size_t LBS_OWNERDRAWVARIABLE = 0x0020;
62constexpr size_t LBS_HASSTRINGS = 0x0040;
69constexpr size_t LBS_USETABSTOPS = 0x0080;
76constexpr size_t LBS_NOINTEGRALHEIGHT = 0x0100;
83constexpr size_t LBS_MULTICOLUMN = 0x0200;
90constexpr size_t LBS_WANTKEYBOARDINPUT = 0x0400;
97constexpr size_t LBS_EXTENDEDSEL = 0x0800;
104constexpr size_t LBS_DISABLENOSCROLL = 0x1000;
111constexpr size_t LBS_NODATA = 0x2000;
118constexpr size_t LBS_NOSEL = 0x4000;
125constexpr size_t LBS_COMBOBOX = 0x8000;
126#endif
constexpr size_t LBS_NOINTEGRALHEIGHT
Specifies that the size of the list box is exactly the size specified by the application when it crea...
Definition list_box_styles.h:76
constexpr size_t LBS_SORT
Sorts strings in the list box alphabetically.
Definition list_box_styles.h:27
constexpr size_t LBS_OWNERDRAWVARIABLE
Specifies that the owner of the list box is responsible for drawing its contents and that the items i...
Definition list_box_styles.h:55
constexpr size_t LBS_OWNERDRAWFIXED
Specifies that the owner of the list box is responsible for drawing its contents and that the items i...
Definition list_box_styles.h:48
constexpr size_t LBS_MULTICOLUMN
Specifies a multi-column list box that is scrolled horizontally. The list box automatically calculate...
Definition list_box_styles.h:83
constexpr size_t LBS_WANTKEYBOARDINPUT
Specifies that the owner of the list box receives WM_VKEYTOITEM messages whenever the user presses a ...
Definition list_box_styles.h:90
constexpr size_t LBS_NOTIFY
Causes the list box to send a notification code to the parent window whenever the user clicks a list ...
Definition list_box_styles.h:20
constexpr size_t LBS_NOSEL
Specifies that the list box contains items that can be viewed but not selected.
Definition list_box_styles.h:118
constexpr size_t LBS_COMBOBOX
Notifies a list box that it is part of a combo box. This allows coordination between the two controls...
Definition list_box_styles.h:125
constexpr size_t LBS_DISABLENOSCROLL
Shows a disabled horizontal or vertical scroll bar when the list box does not contain enough items to...
Definition list_box_styles.h:104
constexpr size_t LBS_NODATA
Specifies a no-data list box. Specify this style when the count of items in the list box will exceed ...
Definition list_box_styles.h:111
constexpr size_t LBS_EXTENDEDSEL
Allows multiple items to be selected by using the SHIFT key and the mouse or special key combinations...
Definition list_box_styles.h:97
constexpr size_t LBS_USETABSTOPS
Enables a list box to recognize and expand tab characters when drawing its strings....
Definition list_box_styles.h:69
constexpr size_t LBS_NOREDRAW
Specifies that the list box's appearance is not updated when changes are made.
Definition list_box_styles.h:34
constexpr size_t LBS_HASSTRINGS
Specifies that a list box contains items consisting of strings. The list box maintains the memory and...
Definition list_box_styles.h:62
constexpr size_t LBS_MULTIPLESEL
Turns string selection on or off each time the user clicks or double-clicks a string in the list box....
Definition list_box_styles.h:41