📄 group__mgext__ctrl__iconview.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 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>IconView control<br><small>[<a class="el" href="group__mgext__controls.htm">Controls defined in libmgext</a>]</small></h1><h2>Modules</h2><ul><li><a class="el" href="group__mgext__ctrl__iconview__styles.htm">Styles of iconview control</a><li><a class="el" href="group__mgext__ctrl__iconview__msgs.htm">Messages of ListView control</a><li><a class="el" href="group__mgext__ctrl__iconview__ncs.htm">Notification code of IconView control</a></ul><h2>Data Structures</h2><ul><li>struct <a class="el" href="struct__IVITEMINFO.htm">_IVITEMINFO</a></ul><h2>Defines</h2><ul><li>#define <a class="el" href="group__mgext__ctrl__iconview.htm#ga7">CTRL_ICONVIEW</a> ("IconView")<dl class="el"><dd class="mdescRight">The class name of iconview control. <a href="#ga7"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__iconview.htm#ga8">IV_OKAY</a> 0<li>#define <a class="el" href="group__mgext__ctrl__iconview.htm#ga9">IV_ERR</a> (-1)<li>#define <a class="el" href="group__mgext__ctrl__iconview.htm#ga10">IV_ERRSPACE</a> (-2)<li>#define <a class="el" href="group__mgext__ctrl__iconview.htm#ga11">IVFLAG_BITMAP</a> 0x0001<li>#define <a class="el" href="group__mgext__ctrl__iconview.htm#ga12">IVFLAG_ICON</a> 0x0002</ul><h2>Typedefs</h2><ul><li>typedef <a class="el" href="group__handles.htm#ga0">GHANDLE</a> <a class="el" href="group__mgext__ctrl__iconview.htm#ga0">HIVITEM</a><dl class="el"><dd class="mdescRight">Icon view item handle. <a href="#ga0"></a><br></dl><li>typedef <a class="el" href="struct__IVITEMINFO.htm">_IVITEMINFO</a> <a class="el" href="group__mgext__ctrl__iconview.htm#ga1">IVITEMINFO</a></ul><h2>Functions</h2><ul><li>MGEXT_EXPORT int <a class="el" href="group__mgext__ctrl__iconview.htm#ga3">iconview_is_item_hilight</a> (<a class="el" href="group__handles.htm#ga1">HWND</a> hWnd, <a class="el" href="group__handles.htm#ga0">GHANDLE</a> hivi)<dl class="el"><dd class="mdescRight">Use this to whether an iconview item is hilighted. <a href="#ga3"></a><br></dl><li>MGEXT_EXPORT <a class="el" href="struct__BITMAP.htm">PBITMAP</a> <a class="el" href="group__mgext__ctrl__iconview.htm#ga4">iconview_get_item_bitmap</a> (<a class="el" href="group__handles.htm#ga0">GHANDLE</a> hivi)<dl class="el"><dd class="mdescRight">Use this to get bitmap handle from an iconview item. <a href="#ga4"></a><br></dl><li>MGEXT_EXPORT const char * <a class="el" href="group__mgext__ctrl__iconview.htm#ga5">iconview_get_item_label</a> (<a class="el" href="group__handles.htm#ga0">GHANDLE</a> hivi)<dl class="el"><dd class="mdescRight">Use this to get text label from an iconview item. <a href="#ga5"></a><br></dl><li>MGEXT_EXPORT <a class="el" href="group__win32__types.htm#ga4">DWORD</a> <a class="el" href="group__mgext__ctrl__iconview.htm#ga6">iconview_get_item_adddata</a> (<a class="el" href="group__handles.htm#ga0">GHANDLE</a> hivi)<dl class="el"><dd class="mdescRight">Use this to get additional data from an iconview item. <a href="#ga6"></a><br></dl></ul><hr><h2>Define Documentation</h2><a class="anchor" name="ga7" doxytag="iconview.h::CTRL_ICONVIEW"></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 CTRL_ICONVIEW ("IconView") </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>The class name of iconview control. <p><p>Definition at line <a class="el" href="iconview_8h-source.htm#l00056">56</a> of file <a class="el" href="iconview_8h-source.htm">iconview.h</a>. </td> </tr></table><a class="anchor" name="ga9" doxytag="iconview.h::IV_ERR"></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 IV_ERR (-1) </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Iconview return value <p>Definition at line <a class="el" href="iconview_8h-source.htm#l00061">61</a> of file <a class="el" href="iconview_8h-source.htm">iconview.h</a>. </td> </tr></table><a class="anchor" name="ga10" doxytag="iconview.h::IV_ERRSPACE"></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 IV_ERRSPACE (-2) </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Iconview return value <p>Definition at line <a class="el" href="iconview_8h-source.htm#l00063">63</a> of file <a class="el" href="iconview_8h-source.htm">iconview.h</a>. </td> </tr></table><a class="anchor" name="ga8" doxytag="iconview.h::IV_OKAY"></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 IV_OKAY 0 </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Iconview return value <p>Definition at line <a class="el" href="iconview_8h-source.htm#l00059">59</a> of file <a class="el" href="iconview_8h-source.htm">iconview.h</a>. </td> </tr></table><a class="anchor" name="ga11" doxytag="iconview.h::IVFLAG_BITMAP"></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 IVFLAG_BITMAP 0x0001 </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Iconview bitmap flags, reserved <p>Definition at line <a class="el" href="iconview_8h-source.htm#l00104">104</a> of file <a class="el" href="iconview_8h-source.htm">iconview.h</a>. </td> </tr></table><a class="anchor" name="ga12" doxytag="iconview.h::IVFLAG_ICON"></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 IVFLAG_ICON 0x0002 </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Iconview icon flags, reserved <p>Definition at line <a class="el" href="iconview_8h-source.htm#l00106">106</a> of file <a class="el" href="iconview_8h-source.htm">iconview.h</a>. </td> </tr></table><hr><h2>Typedef Documentation</h2><a class="anchor" name="ga0" doxytag="iconview.h::HIVITEM"></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">typedef <a class="el" href="group__handles.htm#ga0">GHANDLE</a> <a class="el" href="group__mgext__ctrl__iconview.htm#ga0">HIVITEM</a> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Icon view item handle. <p><p>Definition at line <a class="el" href="iconview_8h-source.htm#l00069">69</a> of file <a class="el" href="iconview_8h-source.htm">iconview.h</a>. </td> </tr></table><a class="anchor" name="ga1" doxytag="iconview.h::IVITEMINFO"></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">typedef struct <a class="el" href="struct__IVITEMINFO.htm">_IVITEMINFO</a> <a class="el" href="struct__IVITEMINFO.htm">IVITEMINFO</a> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Structure of the iconview item info, contains information about an item. This structure is used for creating or retrieving an item. </td> </tr></table><hr><h2>Function Documentation</h2><a class="anchor" name="ga6" doxytag="iconview.h::iconview_get_item_adddata"></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"><a class="el" href="group__win32__types.htm#ga4">DWORD</a> iconview_get_item_adddata </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group__handles.htm#ga0">GHANDLE</a> </td> <td class="mdname1" valign="top" nowrap> <em>hivi</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Use this to get additional data from an iconview item. <p> </td> </tr></table><a class="anchor" name="ga4" doxytag="iconview.h::iconview_get_item_bitmap"></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"><a class="el" href="group__win32__types.htm#ga4">DWORD</a> iconview_get_item_bitmap </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group__handles.htm#ga0">GHANDLE</a> </td> <td class="mdname1" valign="top" nowrap> <em>hivi</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Use this to get bitmap handle from an iconview item. <p> </td> </tr></table><a class="anchor" name="ga5" doxytag="iconview.h::iconview_get_item_label"></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"><a class="el" href="group__win32__types.htm#ga4">DWORD</a> iconview_get_item_label </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group__handles.htm#ga0">GHANDLE</a> </td> <td class="mdname1" valign="top" nowrap> <em>hivi</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Use this to get text label from an iconview item. <p> </td> </tr></table><a class="anchor" name="ga3" doxytag="iconview.h::iconview_is_item_hilight"></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">int iconview_is_item_hilight </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group__handles.htm#ga1">HWND</a> </td> <td class="mdname" nowrap> <em>hWnd</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap><a class="el" href="group__handles.htm#ga0">GHANDLE</a> </td> <td class="mdname" nowrap> <em>hivi</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Use this to whether an iconview item is hilighted. <p> </td> </tr></table><hr size="1"><address style="align: right;"><small>Generated on Thu Nov 22 15:35:56 2007 for MiniGUI V1.6.10 API Reference by <a href="http://www.doxygen.org/index.html"><img src="http://www.minigui.com/api_ref/1.6.10/doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.2 </small></address></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -