📄 group__mgext__ctrl__grid.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: GridView 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>GridView 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__control__grid__msgs.htm">Messages of grid control</a><li><a class="el" href="group__mgext__ctrl__grid__ncs.htm">Notification code of Grid control</a></ul><h2>Data Structures</h2><ul><li>struct <a class="el" href="struct__GRIDVIEWDATA.htm">_GRIDVIEWDATA</a><li>struct <a class="el" href="struct__GRIDCELLS.htm">_GRIDCELLS</a><li>struct <a class="el" href="struct__GRIDCELLDATAHEADER.htm">_GRIDCELLDATAHEADER</a><li>struct <a class="el" href="struct__GRIDCELLDATATEXT.htm">_GRIDCELLDATATEXT</a><li>struct <a class="el" href="struct__GRIDCELLDATANUMBER.htm">_GRIDCELLDATANUMBER</a><li>struct <a class="el" href="struct__GRIDCELLDATACHECKBOX.htm">_GRIDCELLDATACHECKBOX</a><li>struct <a class="el" href="struct__GRIDCELLDATASELECTION.htm">_GRIDCELLDATASELECTION</a><li>struct <a class="el" href="struct__GRIDCELLDATA.htm">_GRIDCELLDATA</a></ul><h2>Defines</h2><ul><li>#define <a class="el" href="group__mgext__ctrl__grid.htm#ga10">CTRL_GRIDVIEW</a> "gridview"<dl class="el"><dd class="mdescRight">The class name of gridview control. <a href="#ga10"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__grid.htm#ga13">GRID_OKAY</a> 0<dl class="el"><dd class="mdescRight">Gridview return value. <a href="#ga13"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__grid.htm#ga14">GRID_ERR</a> (-1)<dl class="el"><dd class="mdescRight">Gridview return value. <a href="#ga14"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__grid.htm#ga15">GV_HALIGN_LEFT</a> 0x00000001<li>#define <a class="el" href="group__mgext__ctrl__grid.htm#ga16">GV_HALIGN_RIGHT</a> 0x00000002<li>#define <a class="el" href="group__mgext__ctrl__grid.htm#ga17">GV_HALIGN_CENTER</a> 0x00000003<li>#define <a class="el" href="group__mgext__ctrl__grid.htm#ga18">GV_VALIGN_TOP</a> 0x00000010<li>#define <a class="el" href="group__mgext__ctrl__grid.htm#ga19">GV_VALIGN_BOTTOM</a> 0x00000020<li>#define <a class="el" href="group__mgext__ctrl__grid.htm#ga20">GV_VALIGN_CENTER</a> 0x00000030<li>#define <a class="el" href="group__mgext__ctrl__grid.htm#ga21">GV_HALIGN_MASK</a> 0x0000000F<li>#define <a class="el" href="group__mgext__ctrl__grid.htm#ga22">GV_VALIGN_MASK</a> 0x000000F0<li>#define <a class="el" href="group__mgext__ctrl__grid.htm#ga23">GV_TYPE_UNKNOWN</a> 0x00000000<li>#define <a class="el" href="group__mgext__ctrl__grid.htm#ga24">GV_TYPE_TEXT</a> 0x00000100<li>#define <a class="el" href="group__mgext__ctrl__grid.htm#ga25">GV_TYPE_NUMBER</a> 0x00000200<li>#define <a class="el" href="group__mgext__ctrl__grid.htm#ga26">GV_TYPE_CHECKBOX</a> 0x00000300<li>#define <a class="el" href="group__mgext__ctrl__grid.htm#ga27">GV_TYPE_SELECTION</a> 0x00000400<li>#define <a class="el" href="group__mgext__ctrl__grid.htm#ga28">GV_TYPE_HEADER</a> 0x00000500<li>#define <a class="el" href="group__mgext__ctrl__grid.htm#ga29">GV_TYPE_TABLEHEADER</a> 0x00000600<li>#define <a class="el" href="group__mgext__ctrl__grid.htm#ga30">GV_TYPE_MASK</a> 0x0000FF00<li>#define <a class="el" href="group__mgext__ctrl__grid.htm#ga31">GVS_WITHICON</a> 0x00010000<li>#define <a class="el" href="group__mgext__ctrl__grid.htm#ga32">GVS_WITHCHECKBOX</a> 0x00020000<li>#define <a class="el" href="group__mgext__ctrl__grid.htm#ga33">GVS_MULTLINE</a> 0x00100000<li>#define <a class="el" href="group__mgext__ctrl__grid.htm#ga34">GVS_READONLY</a> 0x00200000<li>#define <a class="el" href="group__mgext__ctrl__grid.htm#ga35">GVS_BOXCHECKED</a> 0x00400000</ul><h2>Typedefs</h2><ul><li>typedef <a class="el" href="struct__GRIDVIEWDATA.htm">_GRIDVIEWDATA</a> <a class="el" href="group__mgext__ctrl__grid.htm#ga0">GRIDVIEWDATA</a><li>typedef <a class="el" href="struct__GRIDCELLS.htm">_GRIDCELLS</a> <a class="el" href="group__mgext__ctrl__grid.htm#ga1">GRIDCELLS</a><li>typedef <a class="el" href="struct__GRIDCELLDATAHEADER.htm">_GRIDCELLDATAHEADER</a> <a class="el" href="group__mgext__ctrl__grid.htm#ga4">GRIDCELLDATAHEADER</a><li>typedef <a class="el" href="struct__GRIDCELLDATATEXT.htm">_GRIDCELLDATATEXT</a> <a class="el" href="group__mgext__ctrl__grid.htm#ga5">GRIDCELLDATATEXT</a><li>typedef <a class="el" href="struct__GRIDCELLDATANUMBER.htm">_GRIDCELLDATANUMBER</a> <a class="el" href="group__mgext__ctrl__grid.htm#ga6">GRIDCELLDATANUMBER</a><li>typedef <a class="el" href="struct__GRIDCELLDATACHECKBOX.htm">_GRIDCELLDATACHECKBOX</a> <a class="el" href="group__mgext__ctrl__grid.htm#ga7">GRIDCELLDATACHECKBOX</a><li>typedef <a class="el" href="struct__GRIDCELLDATASELECTION.htm">_GRIDCELLDATASELECTION</a> <a class="el" href="group__mgext__ctrl__grid.htm#ga8">GRIDCELLDATASELECTION</a><li>typedef <a class="el" href="struct__GRIDCELLDATA.htm">_GRIDCELLDATA</a> <a class="el" href="group__mgext__ctrl__grid.htm#ga9">GRIDCELLDATA</a></ul><hr><h2>Define Documentation</h2><a class="anchor" name="ga10" doxytag="gridview.h::CTRL_GRIDVIEW"></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_GRIDVIEW "gridview" </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>The class name of gridview control. <p><p>Definition at line <a class="el" href="gridview_8h-source.htm#l00056">56</a> of file <a class="el" href="gridview_8h-source.htm">gridview.h</a>. </td> </tr></table><a class="anchor" name="ga14" doxytag="gridview.h::GRID_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 GRID_ERR (-1) </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Gridview return value. <p><p>Definition at line <a class="el" href="gridview_8h-source.htm#l00071">71</a> of file <a class="el" href="gridview_8h-source.htm">gridview.h</a>. </td> </tr></table><a class="anchor" name="ga13" doxytag="gridview.h::GRID_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 GRID_OKAY 0 </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Gridview return value. <p><p>Definition at line <a class="el" href="gridview_8h-source.htm#l00065">65</a> of file <a class="el" href="gridview_8h-source.htm">gridview.h</a>. </td> </tr></table><a class="anchor" name="ga17" doxytag="gridview.h::GV_HALIGN_CENTER"></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 GV_HALIGN_CENTER 0x00000003 </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Column text horizontal center align <p>Definition at line <a class="el" href="gridview_8h-source.htm#l00092">92</a> of file <a class="el" href="gridview_8h-source.htm">gridview.h</a>. </td> </tr></table><a class="anchor" name="ga15" doxytag="gridview.h::GV_HALIGN_LEFT"></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 GV_HALIGN_LEFT 0x00000001 </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Column text horizontal left align, default <p>Definition at line <a class="el" href="gridview_8h-source.htm#l00088">88</a> of file <a class="el" href="gridview_8h-source.htm">gridview.h</a>. </td> </tr></table><a class="anchor" name="ga21" doxytag="gridview.h::GV_HALIGN_MASK"></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 GV_HALIGN_MASK 0x0000000F </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Mask of horizontal align type <p>Definition at line <a class="el" href="gridview_8h-source.htm#l00101">101</a> of file <a class="el" href="gridview_8h-source.htm">gridview.h</a>. </td> </tr></table><a class="anchor" name="ga16" doxytag="gridview.h::GV_HALIGN_RIGHT"></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 GV_HALIGN_RIGHT 0x00000002 </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Column text horizontal right align <p>Definition at line <a class="el" href="gridview_8h-source.htm#l00090">90</a> of file <a class="el" href="gridview_8h-source.htm">gridview.h</a>. </td> </tr></table><a class="anchor" name="ga26" doxytag="gridview.h::GV_TYPE_CHECKBOX"></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 GV_TYPE_CHECKBOX 0x00000300 </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>The checkbox type of the cell <p>Definition at line <a class="el" href="gridview_8h-source.htm#l00113">113</a> of file <a class="el" href="gridview_8h-source.htm">gridview.h</a>. </td> </tr></table><a class="anchor" name="ga28" doxytag="gridview.h::GV_TYPE_HEADER"></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 GV_TYPE_HEADER 0x00000500 </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>The cell type of the row header or column header <p>Definition at line <a class="el" href="gridview_8h-source.htm#l00117">117</a> of file <a class="el" href="gridview_8h-source.htm">gridview.h</a>. </td> </tr></table><a class="anchor" name="ga30" doxytag="gridview.h::GV_TYPE_MASK"></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 GV_TYPE_MASK 0x0000FF00 </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Mask of grid cell type <p>Definition at line <a class="el" href="gridview_8h-source.htm#l00122">122</a> of file <a class="el" href="gridview_8h-source.htm">gridview.h</a>. </td> </tr></table><a class="anchor" name="ga25" doxytag="gridview.h::GV_TYPE_NUMBER"></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 GV_TYPE_NUMBER 0x00000200 </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>The digit type of the cell <p>Definition at line <a class="el" href="gridview_8h-source.htm#l00111">111</a> of file <a class="el" href="gridview_8h-source.htm">gridview.h</a>. </td> </tr></table><a class="anchor" name="ga27" doxytag="gridview.h::GV_TYPE_SELECTION"></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 GV_TYPE_SELECTION 0x00000400 </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>The type of the cell having selection <p>Definition at line <a class="el" href="gridview_8h-source.htm#l00115">115</a> of file <a class="el" href="gridview_8h-source.htm">gridview.h</a>. </td> </tr></table><a class="anchor" name="ga29" doxytag="gridview.h::GV_TYPE_TABLEHEADER"></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 GV_TYPE_TABLEHEADER 0x00000600 </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>The cell type of the cell <p>Definition at line <a class="el" href="gridview_8h-source.htm#l00119">119</a> of file <a class="el" href="gridview_8h-source.htm">gridview.h</a>. </td> </tr></table><a class="anchor" name="ga24" doxytag="gridview.h::GV_TYPE_TEXT"></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 GV_TYPE_TEXT 0x00000100 </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>The text type of the cell <p>Definition at line <a class="el" href="gridview_8h-source.htm#l00109">109</a> of file <a class="el" href="gridview_8h-source.htm">gridview.h</a>. </td> </tr></table><a class="anchor" name="ga23" doxytag="gridview.h::GV_TYPE_UNKNOWN"></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 GV_TYPE_UNKNOWN 0x00000000 </td> </tr> </table> </td>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -