|
|
Adds a string to the list box of a combo box. An application sends a CB_ADDSTRING message to add a string to the list box of a combo box.
CB_ADDSTRING char* string; wParam = 0; lParam = (LPARAM)string;
Definition at line 288 of file combobox.h. |
|
|
Deletes a string in the list box of a combo box. An application sends a CB_DELETESTRING message to delete a string in the list box of a combo box.
CB_DELETESTRING int index; wParam = (WPARAM)index; lParam = 0;
Definition at line 309 of file combobox.h. |
|
|
Fast spins the value of the spin box or auto spin box.
CB_FASTSPIN int direct wParam = (WPARAM)direct; lParam = 0;
Definition at line 810 of file combobox.h. |
|
|
Searchs the list box for an item beginning with the characters in a specified string. An application sends a CB_FINDSTRING message to search the list box for an item beginning with the characters in a specified string.
CB_FINDSTRING int indexStart; char* string; wParam = (WPARAM)indexStart; lParam = (LPARAM)string;
Definition at line 465 of file combobox.h. |
|
|
Searchs the list box for an item that matches the specified string. An application sends a CB_FINDSTRINGEXACT message to search the list box for an item that matches a specified string.
CB_FINDSTRINGEXACT int indexStart; char* string; wParam = (WPARAM)indexStart; lParam = (LPARAM)string;
Definition at line 630 of file combobox.h. |
|
|
Gets the handles to the children of a ComboBox control. An application sends a CB_GETCHILDREN message to get the handles to the children of a ComboBox control.
CB_GETCHILDREN HWND *wnd_edit, *wnd_listbox; wParam = (WPARAM)wnd_edit; lParam = (LPARAM)wnd_listbox;
Definition at line 867 of file combobox.h. |
|
|
Retreives the number of items in the list box of a combo box. An application sends a CB_GETCOUNT message to retreive the number of items in the list box of a combo box.
CB_GETCOUNT wParam = 0; lParam = 0;
Definition at line 329 of file combobox.h. |
|
|
Retreives the index of the currently selected item in the list box. An application sends a CB_GETCURSEL message to retreive the index of the currently selected item in the list box of a combo box.
CB_GETCURSEL wParam = 0; lParam = 0;
Definition at line 348 of file combobox.h. |
|
|
Retreives the screen coordinates of the dropdown list box of a combo box.
CB_GETDROPPEDCONTROLRECT RECT *rect; wParam = 0; lParam = (LPARAM)rect;
Definition at line 552 of file combobox.h. |
|
|
Determines whether the list box of a combo box is dropped down.
CB_GETIDROPSTATE wParam = 0; lParam = 0;
Definition at line 607 of file combobox.h. |
|
|
Gets the starting and ending character positions of the current selection. An application sends a CB_GETEDITSEL message to get the starting and ending character positions of the current selection in the edit control of a combo box.
CB_GETEDITSEL int start; int end; wParam = (WPARAM)&start; lParam = (LPARAM)&end;
Definition at line 218 of file combobox.h. |
|
|
Retreives the application-supplied 32-bit value associated with the specified item. An application sends an CB_GETITEMADDDATA message to retrive the 32-bit data value associated with with an item in the list box of the combo box.
CB_GETITEMADDDATA int index; wParam = (WPARAM)index; lParam = 0;
Definition at line 510 of file combobox.h. |
|
|
Gets the height of items of the list box in a combo box.
CB_GETITEMHEIGHT wParam = 0; lParam = 0;
Definition at line 588 of file combobox.h. |
|
|
Retreives the string of an item in the list box. An application sends a CB_GETLBTEXT message to retreive the string of a specified item in the list box of a combo box.
CB_GETLBTEXT int index; char* string; wParam = (WPARAM)index; lParam = (LPARAM)string;
Definition at line 373 of file combobox.h. |
|
|
Gets the string length of an item in the list box. An application sends a CB_GETLBTEXTLEN message to get the string length of a specified item in the list box of a combo box.
CB_GETLBTEXTLEN int index; wParam = (WPARAM)index; lParam = 0;
Definition at line 394 of file combobox.h. |
|
|
Gets the pace and the fast pace of the spin box in a combo box.
CB_GETSPINPACE int *spin_pace; int *spin_fastpace; wParam = (WPARAM)spin_pace; lParam = (LPARAM)spin_fastpace;
Definition at line 772 of file combobox.h. |
|
|
Gets the range of the spin box in a combo box.
CB_GETSPINRANGE int *spin_min; int *spin_max; wParam = (WPARAM)spin_min; lParam = (LPARAM)spin_max;
Definition at line 699 of file combobox.h. |
|
|
Gets the current value of the spin box in a combo box.
CB_GETSPINVALUE wParam = 0; lParam = 0;
Definition at line 732 of file combobox.h. |
|
|
Inserts a string to the list box of a combo box. An application sends a CB_INSERTSTRING message to insert a string to the list box of a combo box. Unlike the CB_ADDSTRING message, the CB_INSERTSTRING message do not cause a list to be sorted.
CB_INSERTSTRING int index; char* string; wParam = (WPARAM)index; lParam = (LPARAM)string;
Definition at line 422 of file combobox.h. |
|
|
Limits the length of text in the edit control. An application sends a CB_LIMITTEXT message to limit the length of the text the user may type into the edit control of a combo box.
CB_LIMITTEXT int newLimit; wParam = (WPARAM)newLimit; lParam = 0;
Definition at line 239 of file combobox.h. |
|
|
Removes all items from the list box and edit control. An application sends a CB_RESETCONTENT message remove all items from the list box and edit control of a combo box.
CB_RESETCONTENT wParam = 0; lParam = 0;
Definition at line 440 of file combobox.h. |
|
|
Selects a string in the list of a combo box.
CB_SETCURLSEL int index; wParam = (WPARAM)index; lParam = 0;
Definition at line 485 of file combobox.h. |
|
|
Sets the starting and ending character positions of the current selection. An application sends a CB_SETEDITSEL message to set the starting and ending character positions of the current selection in the edit control of a combo box.
CB_SETEDITSEL int start; int end; wParam = (WPARAM)start; lParam = (LPARAM)end;
Definition at line 263 of file combobox.h. |
|
|
Sets a 32-bit data value with the specified item. An application sends an CB_SETITEMADDDATA message to associate a 32-bit data value specified in the lParam parameter with an item in the list box that is specified in the wParam parameter.
CB_SETITEMADDDATA int index; DWORD addData; wParam = (WPARAM)index; lParam = (LPARAM)addData;
Definition at line 536 of file combobox.h. |
|
|
Sets the height of all items of the list box in a combo box. An application sends an CB_SETITEMHEIGHT message to set the height of all items of the list box in a combo box.
CB_SETITEMHEIGHT int itemHeight; wParam = 0; lParam = (LPARAM)itemHeight;
Definition at line 573 of file combobox.h. |
|
|
Sets the format string of value for CBS_AUTOSPIN type.
CB_SETSPINFORMAT const char* format; wParam = 0; lParam = (LPARAM)format;
Definition at line 659 of file combobox.h. |
|
|
Determines the pace and the fast pace of the spin box in a combo box.
CB_SETSPINPACE int new_pace; int new_fastpace; wParam = (WPARAM)new_pace; lParam = (LPARAM)new_fastpace;
Definition at line 752 of file combobox.h. |
|
|
Determines the range of the spin box in a combo box.
CB_SETSPINRANGE int new_min; int new_max; wParam = (WPARAM)new_min; lParam = (LPARAM)new_max;
Definition at line 679 of file combobox.h. |
|
|
Determines the value of the spin box in a combo box.
CB_SETSPINVALUE int new_value; wParam = (WPARAM)new_value; lParam = 0;
Definition at line 717 of file combobox.h. |
|
|
Sets the STRCMP function used to sort items. An application sends a CB_SETSTRCMPFUNC message to set a new STRCMP function to sort items in the combo-box. Note that you should send this message before adding any item to the combo-box control.
static int my_strcmp (const char* s1, const char* s2, size_t n) { ... return 0; } CB_SETSTRCMPFUNC wParam = 0; lParam = (LPARAM) my_strcmp;
Definition at line 843 of file combobox.h. |
|
|
Spins the value of the spin box or auto spin box.
Definition at line 791 of file combobox.h. |
1.4.2