📄 group__ctrl__combobox__styles.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: Styles of combobox control</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><h1>Styles of combobox control<br><small>[<a class="el" href="group__ctrl__combobox.htm">ComboBox control</a>]</small></h1><h2>Defines</h2><ul><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="#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="#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="#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="#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="#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="#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="#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="#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="#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="#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="#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="#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="#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="#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="#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="#ga17"></a><br></dl></ul><hr><h2>Define Documentation</h2><a class="anchor" name="ga17" doxytag="combobox.h::CBS_AUTOFOCUS"></a><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define CBS_AUTOFOCUS 0x8000L </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>The edit field will gain the focus automatically. <p><p>Definition at line <a class="el" href="combobox_8h-source.htm#l00185">185</a> of file <a class="el" href="combobox_8h-source.htm">combobox.h</a>. </td> </tr></table><a class="anchor" name="ga11" doxytag="combobox.h::CBS_AUTOLOOP"></a><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define CBS_AUTOLOOP 0x0200L </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Loops the value automatically if the type of combobox is CBS_AUTOSPIN. <p><p>Definition at line <a class="el" href="combobox_8h-source.htm#l00149">149</a> of file <a class="el" href="combobox_8h-source.htm">combobox.h</a>. </td> </tr></table><a class="anchor" name="ga1" doxytag="combobox.h::CBS_AUTOSPIN"></a><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define CBS_AUTOSPIN 0x0001L </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Creates AutoSpin box. <p>AutoSpin box has an input field with a spin button. The input field displays an integer, and you can click spin button to increase or decrease the value of the integer. <p>Definition at line <a class="el" href="combobox_8h-source.htm#l00082">82</a> of file <a class="el" href="combobox_8h-source.htm">combobox.h</a>. </td> </tr></table><a class="anchor" name="ga3" doxytag="combobox.h::CBS_DROPDOWNLIST"></a><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define CBS_DROPDOWNLIST 0x0003L </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Specifies a drop-down list box in the selection filed. <p><dl compact><dt><b>Note:</b></dt><dd>The argument <em>dwAddData</em> of <em>CreateWindowEx</em> function should be the expected height of the list box.</dd></dl><div class="fragment"><pre class="fragment"> <span class="keywordtype">int</span> listbox_height = 100; <a class="code" href="group__control__fns.htm#ga1">CreateWindowEx</a> (<a class="code" href="group__ctrl__combobox.htm#ga0">CTRL_COMBOBOX</a>, ..., listbox_height));</pre></div> <p>Definition at line <a class="el" href="combobox_8h-source.htm#l00107">107</a> of file <a class="el" href="combobox_8h-source.htm">combobox.h</a>. </td> </tr></table><a class="anchor" name="ga13" doxytag="combobox.h::CBS_EDITBASELINE"></a><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define CBS_EDITBASELINE 0x0800L </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>The edit box has base line. <p><p>Definition at line <a class="el" href="combobox_8h-source.htm#l00161">161</a> of file <a class="el" href="combobox_8h-source.htm">combobox.h</a>. </td> </tr></table><a class="anchor" name="ga12" doxytag="combobox.h::CBS_EDITNOBORDER"></a><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define CBS_EDITNOBORDER 0x0400L </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>The edit box has no border. <p><p>Definition at line <a class="el" href="combobox_8h-source.htm#l00155">155</a> of file <a class="el" href="combobox_8h-source.htm">combobox.h</a>. </td> </tr></table><a class="anchor" name="ga16" doxytag="combobox.h::CBS_LOWERCASE"></a><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define CBS_LOWERCASE 0x4000L </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>The edit field is lowercase. <p><p>Definition at line <a class="el" href="combobox_8h-source.htm#l00179">179</a> of file <a class="el" href="combobox_8h-source.htm">combobox.h</a>. </td> </tr></table><a class="anchor" name="ga5" doxytag="combobox.h::CBS_NOTIFY"></a><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define CBS_NOTIFY 0x0008L </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -