CListBox Members
Base Class Members
ConstructionInitialization
General OperationsSingle-Selection Operations
Multiple-Selection Operations
String Operations
Overridables
Base Class Members
Construction
Constructs a CListBox object. |
Initialization
Creates the Windows list box and attaches it to the CListBox object. |
|
Preallocates blocks of memory for list box items and strings. |
General Operations
Returns the number of strings in a list box. |
|
Returns the width in pixels that a list box can be scrolled horizontally. |
|
Returns the 32-bit value associated with the list-box item. |
|
Returns a pointer to a list-box item. |
|
Determines the height of items in a list box. |
|
Returns the bounding rectangle of the list-box item as it is currently displayed. |
|
Retrieves the number of items per column. |
|
Retrieves the locale identifier for a list box. |
|
Returns the selection state of a list-box item. |
|
Copies a list-box item into a buffer. |
|
Returns the length in bytes of a list-box item. |
|
Returns the index of the first visible string in a list box. |
|
Returns the index of the list-box item nearest a point. |
|
Sets the column width of a multicolumn list box. |
|
Sets the width in pixels that a list box can be scrolled horizontally. |
|
Sets the 32-bit value associated with the list-box item. |
|
Sets a pointer to the list-box item. |
|
Sets the height of items in a list box. |
|
Sets the locale identifier for a list box. |
|
Sets the tab-stop positions in a list box. |
|
Sets the zero-based index of the first visible string in a list box. |
Single-Selection Operations
Returns the zero-based index of the currently selected string in a list box. |
|
Selects a list-box string. |
Multiple-Selection Operations
Retrieves the zero-based index of the current anchor item in a list box. |
|
Determines the index of the item that has the focus rectangle in a multiple-selection list box. |
|
Returns the number of strings currently selected in a multiple-selection list box. |
|
Returns the indices of the strings currently selected in a list box. |
|
Selects or deselects a range of strings in a multiple-selection list box. |
|
Sets the anchor in a multiple-selection list box to begin an extended selection. |
|
Sets the focus rectangle to the item at the specified index in a multiple-selection list box. |
|
Selects or deselects a list-box item in a multiple-selection list box. |
String Operations
Adds a string to a list box. |
|
Deletes a string from a list box. |
|
Adds filenames, drives, or both from the current directory to a list box. |
|
Searches for a string in a list box. |
|
Finds the first list-box string that matches a specified string. |
|
Inserts a string at a specific location in a list box. |
|
Clears all the entries from a list box. |
|
Searches for and selects a string in a single-selection list box. |
Overridables
Override to provide custom WM_CHAR handling for owner-draw list boxes which don't have strings. |
|
Called by the framework to determine the position of a new item in a sorted owner-draw list box. |
|
Called by the framework when the user deletes an item from an owner-draw list box. |
|
Called by the framework when a visual aspect of an owner-draw list box changes. |
|
Called by the framework when an owner-draw list box is created to determine list-box dimensions. |
|
Override to provide custom WM_KEYDOWN handling for list boxes with the LBS_WANTKEYBOARDINPUT style set. |