⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 listbox_8h-source.htm

📁 MINIGUI1.6开发API
💻 HTM
📖 第 1 页 / 共 2 页
字号:
<!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: listbox.h Source File</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&nbsp;Page</a> | <a class="qindex" href="modules.htm">Modules</a> | <a class="qindex" href="classes.htm">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.htm">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.htm">Directories</a> | <a class="qindex" href="files.htm">File&nbsp;List</a> | <a class="qindex" href="functions.htm">Data&nbsp;Fields</a> | <a class="qindex" href="globals.htm">Globals</a> | <a class="qindex" href="pages.htm">Related&nbsp;Pages</a></div><div class="nav"><a class="el" href="dir_000003.htm">include</a>&nbsp;/&nbsp;<a class="el" href="dir_000004.htm">ctrl</a></div><h1>listbox.h</h1><a href="listbox_8h.htm">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment">00001 00019 <span class="comment">/*</span>00020 <span class="comment"> * $Id: listbox.h 7843 2007-10-16 05:03:28Z xwyan $</span>00021 <span class="comment"> *</span>00022 <span class="comment"> *             MiniGUI for Linux/uClinux, eCos, uC/OS-II, VxWorks, </span>00023 <span class="comment"> *                     pSOS, ThreadX, NuCleus, OSE, and Win32.</span>00024 <span class="comment"> *</span>00025 <span class="comment"> *             Copyright (C) 2002-2007 Feynman Software.</span>00026 <span class="comment"> *             Copyright (C) 1999-2002 Wei Yongming.</span>00027 <span class="comment"> */</span>00028 00029 <span class="preprocessor">#ifndef _MGUI_CTRL_LISTBOX_H</span>00030 <span class="preprocessor"></span><span class="preprocessor">#define _MGUI_CTRL_LISTBOX_H</span>00031 <span class="preprocessor"></span> 00032 <span class="preprocessor">#ifdef __cplusplus</span>00033 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> {00034 <span class="preprocessor">#endif  </span><span class="comment">/* __cplusplus */</span>00035 <a name="l00050"></a><a class="code" href="group__ctrl__listbox.htm#ga2">00050</a> <span class="preprocessor">#define CTRL_LISTBOX        ("listbox")</span>00051 <span class="preprocessor"></span><a name="l00053"></a><a class="code" href="group__ctrl__listbox.htm#ga3">00053</a> <span class="preprocessor">#define LB_OKAY                 0</span>00054 <span class="preprocessor"></span><a name="l00055"></a><a class="code" href="group__ctrl__listbox.htm#ga4">00055</a> <span class="preprocessor">#define LB_ERR                  (-3)</span>00056 <span class="preprocessor"></span><a name="l00057"></a><a class="code" href="group__ctrl__listbox.htm#ga5">00057</a> <span class="preprocessor">#define LB_ERRSPACE             (-2)</span>00058 <span class="preprocessor"></span>00059 <span class="preprocessor">#define CMFLAG_BLANK            0x0000</span>00060 <span class="preprocessor"></span><span class="preprocessor">#define CMFLAG_CHECKED          0x0001</span>00061 <span class="preprocessor"></span><span class="preprocessor">#define CMFLAG_PARTCHECKED      0x0002</span>00062 <span class="preprocessor"></span><a name="l00068"></a><a class="code" href="group__ctrl__listbox.htm#ga9">00068</a> <span class="preprocessor">#define CMFLAG_MASK             0x000F</span>00069 <span class="preprocessor"></span>00070 <span class="preprocessor">#define IMGFLAG_BITMAP          0x0010</span>00071 <span class="preprocessor"></span><a name="l00073"></a><a class="code" href="struct__LISTBOXITEMINFO.htm">00073</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="struct__LISTBOXITEMINFO.htm">_LISTBOXITEMINFO</a>00074 {<a name="l00076"></a><a class="code" href="struct__LISTBOXITEMINFO.htm#o0">00076</a>     <span class="keywordtype">char</span>* <a class="code" href="struct__LISTBOXITEMINFO.htm#o0">string</a>;00077 <a name="l00090"></a><a class="code" href="struct__LISTBOXITEMINFO.htm#o1">00090</a>     <a class="code" href="group__win32__types.htm#ga4">DWORD</a>   <a class="code" href="struct__LISTBOXITEMINFO.htm#o1">cmFlag</a>;         <span class="comment">/* check mark flag */</span>00091 <a name="l00093"></a><a class="code" href="struct__LISTBOXITEMINFO.htm#o2">00093</a>     <a class="code" href="group__handles.htm#ga5">HICON</a>   <a class="code" href="struct__LISTBOXITEMINFO.htm#o2">hIcon</a>;          <span class="comment">/* handle to icon */</span>00094 } <a class="code" href="struct__LISTBOXITEMINFO.htm">LISTBOXITEMINFO</a>;00095 <a name="l00100"></a><a class="code" href="group__ctrl__listbox.htm#ga1">00100</a> <span class="keyword">typedef</span> <a class="code" href="struct__LISTBOXITEMINFO.htm">LISTBOXITEMINFO</a>* <a class="code" href="struct__LISTBOXITEMINFO.htm">PLISTBOXITEMINFO</a>;00101 <a name="l00114"></a><a class="code" href="group__ctrl__listbox__styles.htm#ga0">00114</a> <span class="preprocessor">#define LBS_NOTIFY              0x0001L</span>00115 <span class="preprocessor"></span><a name="l00123"></a><a class="code" href="group__ctrl__listbox__styles.htm#ga1">00123</a> <span class="preprocessor">#define LBS_SORT                0x0002L</span>00124 <span class="preprocessor"></span><a name="l00129"></a><a class="code" href="group__ctrl__listbox__styles.htm#ga2">00129</a> <span class="preprocessor">#define LBS_MULTIPLESEL         0x0008L</span>00130 <span class="preprocessor"></span><a name="l00135"></a><a class="code" href="group__ctrl__listbox__styles.htm#ga3">00135</a> <span class="preprocessor">#define LBS_CHECKBOX            0x1000L</span>00136 <span class="preprocessor"></span><a name="l00141"></a><a class="code" href="group__ctrl__listbox__styles.htm#ga4">00141</a> <span class="preprocessor">#define LBS_USEICON             0x2000L</span>00142 <span class="preprocessor"></span><a name="l00149"></a><a class="code" href="group__ctrl__listbox__styles.htm#ga5">00149</a> <span class="preprocessor">#define LBS_AUTOCHECK           0x4000L</span>00150 <span class="preprocessor"></span><a name="l00156"></a><a class="code" href="group__ctrl__listbox__styles.htm#ga6">00156</a> <span class="preprocessor">#define LBS_AUTOCHECKBOX        (LBS_CHECKBOX | LBS_AUTOCHECK)</span>00157 <span class="preprocessor"></span><a name="l00162"></a><a class="code" href="group__ctrl__listbox__styles.htm#ga7">00162</a> <span class="preprocessor">#define LBS_SBALWAYS            0x8000L</span>00163 <span class="preprocessor"></span><a name="l00169"></a><a class="code" href="group__ctrl__listbox__styles.htm#ga8">00169</a> <span class="preprocessor">#define LBS_MOUSEFOLLOW         0x0010L</span>00170 <span class="preprocessor"></span><span class="preprocessor">#if 0</span>00171 <span class="preprocessor"></span><span class="preprocessor">#define LBS_OWNERDRAWFIXED      0x0010L</span>00172 <span class="preprocessor"></span><span class="preprocessor">#define LBS_OWNERDRAWVARIABLE   0x0020L</span>00173 <span class="preprocessor"></span><span class="preprocessor">#define LBS_USETABSTOPS         0x0080L</span>00174 <span class="preprocessor"></span><span class="preprocessor">#define LBS_MULTICOLUMN         0x0200L</span>00175 <span class="preprocessor"></span><span class="preprocessor">#define LBS_WANTKEYBOARDINPUT   0x0400L</span>00176 <span class="preprocessor"></span><span class="preprocessor">#define LBS_NOREDRAW            0x0004L</span>00177 <span class="preprocessor"></span><span class="preprocessor">#define LBS_HASSTRINGS          0x0040L</span>00178 <span class="preprocessor"></span><span class="preprocessor">#define LBS_NOINTEGRALHEIGHT    0x0100L</span>00179 <span class="preprocessor"></span><span class="preprocessor">#define LBS_EXTENDEDSEL         0x0800L</span>00180 <span class="preprocessor"></span><span class="preprocessor">#endif</span>00181 <span class="preprocessor"></span><a name="l00228"></a><a class="code" href="group__ctrl__listbox__msgs.htm#ga0">00228</a> <span class="preprocessor">#define LB_ADDSTRING            0xF180</span>00229 <span class="preprocessor"></span><a name="l00273"></a><a class="code" href="group__ctrl__listbox__msgs.htm#ga1">00273</a> <span class="preprocessor">#define LB_INSERTSTRING         0xF181</span>00274 <span class="preprocessor"></span><a name="l00294"></a><a class="code" href="group__ctrl__listbox__msgs.htm#ga2">00294</a> <span class="preprocessor">#define LB_DELETESTRING         0xF182</span>00295 <span class="preprocessor"></span>00296 <span class="preprocessor">#define LB_SELITEMRANGEEX       0xF183</span>00297 <span class="preprocessor"></span><a name="l00314"></a><a class="code" href="group__ctrl__listbox__msgs.htm#ga4">00314</a> <span class="preprocessor">#define LB_RESETCONTENT         0xF184</span>00315 <span class="preprocessor"></span><a name="l00338"></a><a class="code" href="group__ctrl__listbox__msgs.htm#ga5">00338</a> <span class="preprocessor">#define LB_GETSEL               0xF187</span>00339 <span class="preprocessor"></span><a name="l00365"></a><a class="code" href="group__ctrl__listbox__msgs.htm#ga6">00365</a> <span class="preprocessor">#define LB_SETSEL               0xF185</span>00366 <span class="preprocessor"></span><a name="l00386"></a><a class="code" href="group__ctrl__listbox__msgs.htm#ga7">00386</a> <span class="preprocessor">#define LB_GETCURSEL            0xF188</span>00387 <span class="preprocessor"></span><a name="l00408"></a><a class="code" href="group__ctrl__listbox__msgs.htm#ga8">00408</a> <span class="preprocessor">#define LB_SETCURSEL            0xF186</span>00409 <span class="preprocessor"></span><a name="l00436"></a><a class="code" href="group__ctrl__listbox__msgs.htm#ga9">00436</a> <span class="preprocessor">#define LB_GETTEXT              0xF189</span>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -