📄 iconview_8h-source.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: iconview.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 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_000000.htm">ext</a> / <a class="el" href="dir_000001.htm">include</a> / <a class="el" href="dir_000002.htm">ext</a></div><h1>iconview.h</h1><a href="iconview_8h.htm">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment">00001 00021 <span class="comment">/*</span>00022 <span class="comment"> * $Id: iconview.h 7370 2007-08-16 05:29:44Z xgwang $</span>00023 <span class="comment"> *</span>00024 <span class="comment"> * MiniGUI for Linux/uClinux, eCos, uC/OS-II, VxWorks, </span>00025 <span class="comment"> * pSOS, ThreadX, NuCleus, OSE, and Win32.</span>00026 <span class="comment"> *</span>00027 <span class="comment"> * Copyright (C) 2002-2007 Feynman Software.</span>00028 <span class="comment"> * Copyright (C) 1998-2002 Wei Yongming.</span>00029 <span class="comment"> */</span>00030 00031 <span class="preprocessor">#ifndef EXT_ICONVIEW_H</span>00032 <span class="preprocessor"></span><span class="preprocessor">#define EXT_ICONVIEW_H</span>00033 <span class="preprocessor"></span>00034 <span class="preprocessor">#ifdef __cplusplus</span>00035 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> {00036 <span class="preprocessor">#endif</span>00037 <span class="preprocessor"></span><a name="l00056"></a><a class="code" href="group__mgext__ctrl__iconview.htm#ga7">00056</a> <span class="preprocessor">#define CTRL_ICONVIEW ("IconView")</span>00057 <span class="preprocessor"></span><a name="l00059"></a><a class="code" href="group__mgext__ctrl__iconview.htm#ga8">00059</a> <span class="preprocessor">#define IV_OKAY 0</span>00060 <span class="preprocessor"></span><a name="l00061"></a><a class="code" href="group__mgext__ctrl__iconview.htm#ga9">00061</a> <span class="preprocessor">#define IV_ERR (-1)</span>00062 <span class="preprocessor"></span><a name="l00063"></a><a class="code" href="group__mgext__ctrl__iconview.htm#ga10">00063</a> <span class="preprocessor">#define IV_ERRSPACE (-2)</span>00064 <span class="preprocessor"></span> <a name="l00069"></a><a class="code" href="group__mgext__ctrl__iconview.htm#ga0">00069</a> <span class="keyword">typedef</span> <a class="code" href="group__handles.htm#ga0">GHANDLE</a> <a class="code" href="group__mgext__ctrl__iconview.htm#ga0">HIVITEM</a>;00070 <a name="l00075"></a><a class="code" href="struct__IVITEMINFO.htm">00075</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="struct__IVITEMINFO.htm">_IVITEMINFO</a>00076 {<a name="l00080"></a><a class="code" href="struct__IVITEMINFO.htm#o0">00080</a> <span class="keywordtype">int</span> <a class="code" href="struct__IVITEMINFO.htm#o0">nItem</a>;00081 <a name="l00085"></a><a class="code" href="struct__IVITEMINFO.htm#o1">00085</a> <a class="code" href="struct__BITMAP.htm">PBITMAP</a> <a class="code" href="struct__IVITEMINFO.htm#o1">bmp</a>;00086 <a name="l00090"></a><a class="code" href="struct__IVITEMINFO.htm#o2">00090</a> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="struct__IVITEMINFO.htm#o2">label</a>;00091 <a name="l00093"></a><a class="code" href="struct__IVITEMINFO.htm#o3">00093</a> <a class="code" href="group__win32__types.htm#ga4">DWORD</a> <a class="code" href="struct__IVITEMINFO.htm#o3">addData</a>;00094 <a name="l00098"></a><a class="code" href="struct__IVITEMINFO.htm#o4">00098</a> <a class="code" href="group__win32__types.htm#ga4">DWORD</a> <a class="code" href="struct__IVITEMINFO.htm#o4">dwFlags</a>;00099 00100 } <a class="code" href="struct__IVITEMINFO.htm">IVITEMINFO</a>;00101 <span class="keyword">typedef</span> <a class="code" href="struct__IVITEMINFO.htm">IVITEMINFO</a>* <a class="code" href="struct__IVITEMINFO.htm">PIVITEMINFO</a>;00102 <a name="l00104"></a><a class="code" href="group__mgext__ctrl__iconview.htm#ga11">00104</a> <span class="preprocessor">#define IVFLAG_BITMAP 0x0001</span>00105 <span class="preprocessor"></span><a name="l00106"></a><a class="code" href="group__mgext__ctrl__iconview.htm#ga12">00106</a> <span class="preprocessor">#define IVFLAG_ICON 0x0002</span>00107 <span class="preprocessor"></span>00108 00113 MGEXT_EXPORT <span class="keywordtype">int</span> <a class="code" href="group__mgext__ctrl__iconview.htm#ga3">iconview_is_item_hilight</a> (<a class="code" href="group__handles.htm#ga1">HWND</a> hWnd, <a class="code" href="group__handles.htm#ga0">GHANDLE</a> hivi);00114 00119 MGEXT_EXPORT <a class="code" href="struct__BITMAP.htm">PBITMAP</a> <a class="code" href="group__mgext__ctrl__iconview.htm#ga4">iconview_get_item_bitmap</a> (<a class="code" href="group__handles.htm#ga0">GHANDLE</a> hivi);00120 00125 MGEXT_EXPORT <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="group__mgext__ctrl__iconview.htm#ga5">iconview_get_item_label</a> (<a class="code" href="group__handles.htm#ga0">GHANDLE</a> hivi);00126 00131 MGEXT_EXPORT <a class="code" href="group__win32__types.htm#ga4">DWORD</a> <a class="code" href="group__mgext__ctrl__iconview.htm#ga6">iconview_get_item_adddata</a> (<a class="code" href="group__handles.htm#ga0">GHANDLE</a> hivi);00132 00133 00139 <span class="comment">/* reserved */</span><a name="l00145"></a><a class="code" href="group__mgext__ctrl__iconview__styles.htm#ga0">00145</a> <span class="preprocessor">#define IVS_NOTIFY SVS_NOTIFY</span>00146 <span class="preprocessor"></span><a name="l00152"></a><a class="code" href="group__mgext__ctrl__iconview__styles.htm#ga1">00152</a> <span class="preprocessor">#define IVS_UPNOTIFY SVS_UPNOTIFY</span>00153 <span class="preprocessor"></span><a name="l00159"></a><a class="code" href="group__mgext__ctrl__iconview__styles.htm#ga2">00159</a> <span class="preprocessor">#define IVS_AUTOSORT SVS_AUTOSORT</span>00160 <span class="preprocessor"></span><a name="l00166"></a><a class="code" href="group__mgext__ctrl__iconview__styles.htm#ga3">00166</a> <span class="preprocessor">#define IVS_LOOP SVS_LOOP</span>00167 <span class="preprocessor"></span>00168 <a name="l00193"></a><a class="code" href="group__mgext__ctrl__iconview__msgs.htm#ga0">00193</a> <span class="preprocessor">#define IVM_ADDITEM 0xF300</span>00194 <span class="preprocessor"></span><a name="l00216"></a><a class="code" href="group__mgext__ctrl__iconview__msgs.htm#ga1">00216</a> <span class="preprocessor">#define IVM_SETITEMSIZE 0xF436</span>00217 <span class="preprocessor"></span>00218 <a name="l00223"></a><a class="code" href="group__mgext__ctrl__iconview__msgs.htm#ga2">00223</a> <span class="preprocessor">#define IVM_RESETCONTENT SVM_RESETCONTENT</span>00224 <span class="preprocessor"></span><a name="l00228"></a><a class="code" href="group__mgext__ctrl__iconview__msgs.htm#ga3">00228</a> <span class="preprocessor">#define IVM_DELITEM SVM_DELITEM</span>00229 <span class="preprocessor"></span><a name="l00233"></a><a class="code" href="group__mgext__ctrl__iconview__msgs.htm#ga4">00233</a> <span class="preprocessor">#define IVM_SETITEMDRAW SVM_SETITEMDRAW</span>00234 <span class="preprocessor"></span><a name="l00238"></a><a class="code" href="group__mgext__ctrl__iconview__msgs.htm#ga5">00238</a> <span class="preprocessor">#define IVM_SETCONTWIDTH SVM_SETCONTWIDTH</span>00239 <span class="preprocessor"></span><a name="l00243"></a><a class="code" href="group__mgext__ctrl__iconview__msgs.htm#ga6">00243</a> <span class="preprocessor">#define IVM_SETCONTHEIGHT SVM_SETCONTHEIGHT</span>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -