Desktop Functions: Smart Device Functions:
|
Search Results for "LB_" in [All]user321: GetWindowTex
/// <br />To obtain the exact length of the text, use the WM_GETTEXT, LB_GETTEXT, or CB_GETLBTEXT messages, or the Constants2: WINERROR
public const int ERROR_INVALID_LB_MESSAGE = 1432;
/// LB_SETCOUNT sent to non-lazy list box.
public const int ERROR_LB_WITHOUT_TABSTOPS = 1434; 3: WM
Enums4: LB_
/// lParam-A pointer to the null-terminated string that is to be added. If the list box has an owner-drawn style but not the LBS_HASSTRINGS style, this parameter is stored as item data instead of a string. You can send the LB_GETITEMDATA and LB_SETITEMDATA messages to retrieve or modify the item data.
/// Return value-The return value is the zero-based index of the string in the list box. If an error occurs, the return value is LB_ERR. If there is insufficient space to store the new string, the return value is LB_ERRSPACE.
LB_ADDSTRING = 0x0180,
/// Return Value-If an error occurs, the return value is LB_ERR.
LB_SETSEL = 0x0185,
/// Return-The return value is the number of items placed in the buffer. If the list box is a single-selection list box, the return value is LB_ERR.
LB_GETSELITEMS = 0x0191,
/// Return Value-The return value is the count of selected items in the list box. If the list box is a single-selection list box, the return value is LB_ERR.
LB_GETSELCOUNT = 0x0190,
/// Return Value-In a single-selection list box, the return value is the zero-based index of the currently selected item. If there is no selection, the return value is LB_ERR.
LB_GETCURSEL = 0x0188,
/// Return Value If the search is successful, the return value is the index of the selected item. If the search is unsuccessful,LB_ERR
LB_SELECTSTRING = 0x018C,
LB_SETCURSEL = 0x0186,
/// Return Value-The return value is the index of the matching item, or LB_ERR if the search was unsuccessful.
LB_FINDSTRING = 0x018F,
/// The return value is the number of items in the list box, or LB_ERR if an error occurs
LB_GETCOUNT = 0x018B,
/// Return Value-If an item is selected, the return value is greater than zero; otherwise, it is zero. If an error occurs, the return value is LB_ERR.
LB_GETSEL = 0x0187,
LB_GETTEXT = 0x0189,
LB_RESETCONTENT = 0x0184,
LB_SETHORIZONTALEXTENT = 0x0194,
LB_GETHORIZONTALEXTENT = 0x0193,
LB_GETTOPINDEX = 0x018E,
LB_SETTOPINDEX = 0x0197,
/// Inserts a string or item data into a list box. Unlike the LB_ADDSTRING
/// message, the LB_INSERTSTRING message does not cause a list with the
LB_INSERTSTRING = 0x0181,
LB_DELETESTRING = 0x0182,
LB_GETITEMDATA = 0x0199
' lParam-A pointer to the null-terminated string that is to be added. If the list box has an owner-drawn style but not the LBS_HASSTRINGS style, this parameter is stored as item data instead of a string. You can send the LB_GETITEMDATA and LB_SETITEMDATA messages to retrieve or modify the item data.
' Return value-The return value is the zero-based index of the string in the list box. If an error occurs, the return value is LB_ERR. If there is insufficient space to store the new string, the return value is LB_ERRSPACE.
LB_ADDSTRING = &H180
' Return Value-If an error occurs, the return value is LB_ERR.
LB_SETSEL = &H185
' Return-The return value is the number of items placed in the buffer. If the list box is a single-selection list box, the return value is LB_ERR.
LB_GETSELITEMS = &H191
' Return Value-The return value is the count of selected items in the list box. If the list box is a single-selection list box, the return value is LB_ERR.
LB_GETSELCOUNT = &H190
' Return Value-In a single-selection list box, the return value is the zero-based index of the currently selected item. If there is no selection, the return value is LB_ERR.
LB_GETCURSEL = &H188
' Return Value If the search is successful, the return value is the index of the selected item. If the search is unsuccessful,LB_ERR
LB_SELECTSTRING = &H18C
LB_SETCURSEL = &H186
' Return Value-The return value is the index of the matching item, or LB_ERR if the search was unsuccessful.
LB_FINDSTRING = &H18F
' The return value is the number of items in the list box, or LB_ERR if an error occurs
LB_GETCOUNT = &H18B
' Return Value-If an item is selected, the return value is greater than zero; otherwise, it is zero. If an error occurs, the return value is LB_ERR.
LB_GETSEL = &H187
LB_GETTEXT = &H189
LB_RESETCONTENT = &H184
LB_SETHORIZONTALEXTENT = &H194
LB_GETHORIZONTALEXTENT = &H193
LB_GETTOPINDEX = &H18E
LB_SETTOPINDEX = &H197
' Inserts a string or item data into a list box. Unlike the LB_ADDSTRING
' message, the LB_INSERTSTRING message does not cause a list with the
LB_INSERTSTRING = &H181
LB_DELETESTRING = &H182
LB_GETITEMDATA = &H199
/// Sent to the owner of a list box or combo box when the list box or combo box is destroyed or when items are removed by the LB_DELETESTRING, LB_RESETCONTENT, CB_DELETESTRING, or CB_RESETCONTENT message. The system sends a WM_DELETEITEM message for each deleted item. The system sends the WM_DELETEITEM message for any deleted list box or combo box item with nonzero item data.
'''Sent to the owner of a list box or combo box when the list box or combo box is destroyed or when items are removed by the LB_DELETESTRING LB_RESETCONTENT CB_DELETESTRING or CB_RESETCONTENT message. The system sends a WM_DELETEITEM message for each deleted item. The system sends the WM_DELETEITEM message for any deleted list box or combo box item with nonzero item data. |