📄 combobox_8h.htm
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>MiniGUI V1.6.10 API Reference: combobox.h File Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.4.2 --><div class="qindex"><a class="qindex" href="index.htm">Main Page</a> | <a class="qindex" href="modules.htm">Modules</a> | <a class="qindex" href="classes.htm">Alphabetical List</a> | <a class="qindex" href="annotated.htm">Data Structures</a> | <a class="qindex" href="dirs.htm">Directories</a> | <a class="qindex" href="files.htm">File List</a> | <a class="qindex" href="functions.htm">Data Fields</a> | <a class="qindex" href="globals.htm">Globals</a> | <a class="qindex" href="pages.htm">Related Pages</a></div><div class="nav"><a class="el" href="dir_000003.htm">include</a> / <a class="el" href="dir_000004.htm">ctrl</a></div><h1>combobox.h File Reference</h1><p><a href="combobox_8h-source.htm">Go to the source code of this file.</a><h2>Defines</h2><ul><li>#define <a class="el" href="group__ctrl__combobox.htm#ga0">CTRL_COMBOBOX</a> ("combobox")<dl class="el"><dd class="mdescRight">The class name of combobox control. <a href="group__ctrl__combobox.htm#ga0"></a><br></dl><li>#define <a class="el" href="group__ctrl__combobox__styles.htm#ga0">CBS_SIMPLE</a> 0x0000L<dl class="el"><dd class="mdescRight">Displays the list box at all times. <a href="group__ctrl__combobox__styles.htm#ga0"></a><br></dl><li>#define <a class="el" href="group__ctrl__combobox__styles.htm#ga1">CBS_AUTOSPIN</a> 0x0001L<dl class="el"><dd class="mdescRight">Creates AutoSpin box. <a href="group__ctrl__combobox__styles.htm#ga1"></a><br></dl><li>#define <a class="el" href="group__ctrl__combobox__styles.htm#ga2">CBS_SPINLIST</a> 0x0002L<dl class="el"><dd class="mdescRight">Creates SpinList box. <a href="group__ctrl__combobox__styles.htm#ga2"></a><br></dl><li>#define <a class="el" href="group__ctrl__combobox__styles.htm#ga3">CBS_DROPDOWNLIST</a> 0x0003L<dl class="el"><dd class="mdescRight">Specifies a drop-down list box in the selection filed. <a href="group__ctrl__combobox__styles.htm#ga3"></a><br></dl><li>#define <a class="el" href="group__ctrl__combobox__styles.htm#ga4">CBS_TYPEMASK</a> 0x0007L<dl class="el"><dd class="mdescRight">The type mask of style of combobox. <a href="group__ctrl__combobox__styles.htm#ga4"></a><br></dl><li>#define <a class="el" href="group__ctrl__combobox__styles.htm#ga5">CBS_NOTIFY</a> 0x0008L<dl class="el"><dd class="mdescRight">Notifies the parent window. <a href="group__ctrl__combobox__styles.htm#ga5"></a><br></dl><li>#define <a class="el" href="group__ctrl__combobox__styles.htm#ga6">CBS_SPINARROW_TOPBOTTOM</a> 0x0010L<dl class="el"><dd class="mdescRight">The spin arrow. <a href="group__ctrl__combobox__styles.htm#ga6"></a><br></dl><li>#define <a class="el" href="group__ctrl__combobox__styles.htm#ga7">CBS_SPINARROW_LEFTRIGHT</a> 0x0020L<dl class="el"><dd class="mdescRight">The spin arrow. <a href="group__ctrl__combobox__styles.htm#ga7"></a><br></dl><li>#define <a class="el" href="group__ctrl__combobox__styles.htm#ga10">CBS_SORT</a> 0x0100L<dl class="el"><dd class="mdescRight">Automatically sorts strings entered in the list box. <a href="group__ctrl__combobox__styles.htm#ga10"></a><br></dl><li>#define <a class="el" href="group__ctrl__combobox__styles.htm#ga11">CBS_AUTOLOOP</a> 0x0200L<dl class="el"><dd class="mdescRight">Loops the value automatically if the type of combobox is CBS_AUTOSPIN. <a href="group__ctrl__combobox__styles.htm#ga11"></a><br></dl><li>#define <a class="el" href="group__ctrl__combobox__styles.htm#ga12">CBS_EDITNOBORDER</a> 0x0400L<dl class="el"><dd class="mdescRight">The edit box has no border. <a href="group__ctrl__combobox__styles.htm#ga12"></a><br></dl><li>#define <a class="el" href="group__ctrl__combobox__styles.htm#ga13">CBS_EDITBASELINE</a> 0x0800L<dl class="el"><dd class="mdescRight">The edit box has base line. <a href="group__ctrl__combobox__styles.htm#ga13"></a><br></dl><li>#define <a class="el" href="group__ctrl__combobox__styles.htm#ga14">CBS_READONLY</a> 0x1000L<dl class="el"><dd class="mdescRight">The edit field is read-only. <a href="group__ctrl__combobox__styles.htm#ga14"></a><br></dl><li>#define <a class="el" href="group__ctrl__combobox__styles.htm#ga15">CBS_UPPERCASE</a> 0x2000L<dl class="el"><dd class="mdescRight">The edit field is uppercase. <a href="group__ctrl__combobox__styles.htm#ga15"></a><br></dl><li>#define <a class="el" href="group__ctrl__combobox__styles.htm#ga16">CBS_LOWERCASE</a> 0x4000L<dl class="el"><dd class="mdescRight">The edit field is lowercase. <a href="group__ctrl__combobox__styles.htm#ga16"></a><br></dl><li>#define <a class="el" href="group__ctrl__combobox__styles.htm#ga17">CBS_AUTOFOCUS</a> 0x8000L<dl class="el"><dd class="mdescRight">The edit field will gain the focus automatically. <a href="group__ctrl__combobox__styles.htm#ga17"></a><br></dl><li>#define <a class="el" href="group__ctrl__combobox__msgs.htm#ga0">CB_GETEDITSEL</a> 0xF140<dl class="el"><dd class="mdescRight">Gets the starting and ending character positions of the current selection. <a href="group__ctrl__combobox__msgs.htm#ga0"></a><br></dl><li>#define <a class="el" href="group__ctrl__combobox__msgs.htm#ga1">CB_LIMITTEXT</a> 0xF141<dl class="el"><dd class="mdescRight">Limits the length of text in the edit control. <a href="group__ctrl__combobox__msgs.htm#ga1"></a><br></dl><li>#define <a class="el" href="group__ctrl__combobox__msgs.htm#ga2">CB_SETEDITSEL</a> 0xF142<dl class="el"><dd class="mdescRight">Sets the starting and ending character positions of the current selection. <a href="group__ctrl__combobox__msgs.htm#ga2"></a><br></dl><li>#define <a class="el" href="group__ctrl__combobox__msgs.htm#ga3">CB_ADDSTRING</a> 0xF143<dl class="el"><dd class="mdescRight">Adds a string to the list box of a combo box. <a href="group__ctrl__combobox__msgs.htm#ga3"></a><br></dl><li>#define <a class="el" href="group__ctrl__combobox__msgs.htm#ga4">CB_DELETESTRING</a> 0xF144<dl class="el"><dd class="mdescRight">Deletes a string in the list box of a combo box. <a href="group__ctrl__combobox__msgs.htm#ga4"></a><br></dl><li>#define <a class="el" href="group__ctrl__combobox__msgs.htm#ga6">CB_GETCOUNT</a> 0xF146<dl class="el"><dd class="mdescRight">Retreives the number of items in the list box of a combo box. <a href="group__ctrl__combobox__msgs.htm#ga6"></a><br></dl><li>#define <a class="el" href="group__ctrl__combobox__msgs.htm#ga7">CB_GETCURSEL</a> 0xF147<dl class="el"><dd class="mdescRight">Retreives the index of the currently selected item in the list box. <a href="group__ctrl__combobox__msgs.htm#ga7"></a><br></dl><li>#define <a class="el" href="group__ctrl__combobox__msgs.htm#ga8">CB_GETLBTEXT</a> 0xF148<dl class="el"><dd class="mdescRight">Retreives the string of an item in the list box. <a href="group__ctrl__combobox__msgs.htm#ga8"></a><br></dl><li>#define <a class="el" href="group__ctrl__combobox__msgs.htm#ga9">CB_GETLBTEXTLEN</a> 0xF149<dl class="el"><dd class="mdescRight">Gets the string length of an item in the list box. <a href="group__ctrl__combobox__msgs.htm#ga9"></a><br></dl><li>#define <a class="el" href="group__ctrl__combobox__msgs.htm#ga10">CB_INSERTSTRING</a> 0xF14A<dl class="el"><dd class="mdescRight">Inserts a string to the list box of a combo box. <a href="group__ctrl__combobox__msgs.htm#ga10"></a><br></dl><li>#define <a class="el" href="group__ctrl__combobox__msgs.htm#ga11">CB_RESETCONTENT</a> 0xF14B<dl class="el"><dd class="mdescRight">Removes all items from the list box and edit control. <a href="group__ctrl__combobox__msgs.htm#ga11"></a><br></dl><li>#define <a class="el" href="group__ctrl__combobox__msgs.htm#ga12">CB_FINDSTRING</a> 0xF14C<dl class="el"><dd class="mdescRight">Searchs the list box for an item beginning with the characters in a specified string. <a href="group__ctrl__combobox__msgs.htm#ga12"></a><br></dl><li>#define <a class="el" href="group__ctrl__combobox__msgs.htm#ga14">CB_SETCURSEL</a> 0xF14E<dl class="el"><dd class="mdescRight">Selects a string in the list of a combo box. <a href="group__ctrl__combobox__msgs.htm#ga14"></a><br></dl><li>#define <a class="el" href="group__ctrl__combobox__msgs.htm#ga16">CB_GETITEMADDDATA</a> 0xF150<dl class="el"><dd class="mdescRight">Retreives the application-supplied 32-bit value associated with the specified item. <a href="group__ctrl__combobox__msgs.htm#ga16"></a><br></dl><li>#define <a class="el" href="group__ctrl__combobox__msgs.htm#ga17">CB_SETITEMADDDATA</a> 0xF151<dl class="el"><dd class="mdescRight">Sets a 32-bit data value with the specified item. <a href="group__ctrl__combobox__msgs.htm#ga17"></a><br></dl><li>#define <a class="el" href="group__ctrl__combobox__msgs.htm#ga18">CB_GETDROPPEDCONTROLRECT</a> 0xF152<dl class="el"><dd class="mdescRight">Retreives the screen coordinates of the dropdown list box of a combo box. <a href="group__ctrl__combobox__msgs.htm#ga18"></a><br></dl><li>#define <a class="el" href="group__ctrl__combobox__msgs.htm#ga19">CB_SETITEMHEIGHT</a> 0xF153
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -