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

📄 group__mgext__ctrl__treeview__ncs.htm

📁 MINIGUI1.6开发API
💻 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: Notification codes of treeview 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&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><h1>Notification codes of treeview control<br><small>[<a class="el" href="group__mgext__ctrl__treeview.htm">TreeView control</a>]</small></h1><h2>Defines</h2><ul><li>#define <a class="el" href="group__mgext__ctrl__treeview__ncs.htm#ga0">TVN_ERRSPACE</a>&nbsp;&nbsp;&nbsp;255<dl class="el"><dd class="mdescRight">Indicates that memory is not enough.  <a href="#ga0"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__treeview__ncs.htm#ga1">TVN_SELCHANGE</a>&nbsp;&nbsp;&nbsp;1<dl class="el"><dd class="mdescRight">Notifies the change of selection.  <a href="#ga1"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__treeview__ncs.htm#ga2">TVN_DBLCLK</a>&nbsp;&nbsp;&nbsp;2<dl class="el"><dd class="mdescRight">Notifies the user has double-clicked an item.  <a href="#ga2"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__treeview__ncs.htm#ga3">TVN_SETFOCUS</a>&nbsp;&nbsp;&nbsp;4<dl class="el"><dd class="mdescRight">Indicates gain of input focus.  <a href="#ga3"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__treeview__ncs.htm#ga4">TVN_KILLFOCUS</a>&nbsp;&nbsp;&nbsp;5<dl class="el"><dd class="mdescRight">Indicates loss of input focus.  <a href="#ga4"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__treeview__ncs.htm#ga5">TVN_CLICKED</a>&nbsp;&nbsp;&nbsp;7<dl class="el"><dd class="mdescRight">Indicates the user has clicked an item.  <a href="#ga5"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__treeview__ncs.htm#ga6">TVN_ENTER</a>&nbsp;&nbsp;&nbsp;8<dl class="el"><dd class="mdescRight">Indicates the user has pressed the ENTER key.  <a href="#ga6"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__treeview__ncs.htm#ga7">TVN_FOLDED</a>&nbsp;&nbsp;&nbsp;9<dl class="el"><dd class="mdescRight">Indicates a sub-tree has folded.  <a href="#ga7"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__treeview__ncs.htm#ga8">TVN_UNFOLDED</a>&nbsp;&nbsp;&nbsp;10<dl class="el"><dd class="mdescRight">Indicates a sub-tree has unfolded.  <a href="#ga8"></a><br></dl></ul><hr><h2>Define Documentation</h2><a class="anchor" name="ga5" doxytag="treeview.h::TVN_CLICKED"></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 TVN_CLICKED&nbsp;&nbsp;&nbsp;7          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Indicates the user has clicked an item. <p><p>Definition at line <a class="el" href="treeview_8h-source.htm#l00493">493</a> of file <a class="el" href="treeview_8h-source.htm">treeview.h</a>.    </td>  </tr></table><a class="anchor" name="ga2" doxytag="treeview.h::TVN_DBLCLK"></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 TVN_DBLCLK&nbsp;&nbsp;&nbsp;2          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Notifies the user has double-clicked an item. <p><p>Definition at line <a class="el" href="treeview_8h-source.htm#l00469">469</a> of file <a class="el" href="treeview_8h-source.htm">treeview.h</a>.    </td>  </tr></table><a class="anchor" name="ga6" doxytag="treeview.h::TVN_ENTER"></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 TVN_ENTER&nbsp;&nbsp;&nbsp;8          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Indicates the user has pressed the ENTER key. <p><p>Definition at line <a class="el" href="treeview_8h-source.htm#l00499">499</a> of file <a class="el" href="treeview_8h-source.htm">treeview.h</a>.    </td>  </tr></table><a class="anchor" name="ga0" doxytag="treeview.h::TVN_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 TVN_ERRSPACE&nbsp;&nbsp;&nbsp;255          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Indicates that memory is not enough. <p>A list box sends an TVN_ERRSPACE notification message to its parent window when it cannot allocate enough memory to complete the current operation. <p>Definition at line <a class="el" href="treeview_8h-source.htm#l00457">457</a> of file <a class="el" href="treeview_8h-source.htm">treeview.h</a>.    </td>  </tr></table><a class="anchor" name="ga7" doxytag="treeview.h::TVN_FOLDED"></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 TVN_FOLDED&nbsp;&nbsp;&nbsp;9          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Indicates a sub-tree has folded. <p><dl compact><dt><b>Note:</b></dt><dd>This is an extended notification, the control calls <em>NotifyParentEx</em> function to notify the parent, and passes the handle to the folded item through <em>add_data</em> argument of <em>NotifyParentEx</em> function. You should define and set Notificaton Callback Procedure for the control in order to get the handle to the folded item.</dd></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="group__control__fns.htm#ga3">SetNotificationCallback</a>, <a class="el" href="group__misc__fns.htm#ga9">NotifyParentEx</a> </dd></dl><p>Definition at line <a class="el" href="treeview_8h-source.htm#l00513">513</a> of file <a class="el" href="treeview_8h-source.htm">treeview.h</a>.    </td>  </tr></table><a class="anchor" name="ga4" doxytag="treeview.h::TVN_KILLFOCUS"></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 TVN_KILLFOCUS&nbsp;&nbsp;&nbsp;5          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Indicates loss of input focus. <p>A TreeView control sends an TVN_KILLFOCUS notification message to its parent window when the list box loses the input focus. <p>Definition at line <a class="el" href="treeview_8h-source.htm#l00487">487</a> of file <a class="el" href="treeview_8h-source.htm">treeview.h</a>.    </td>  </tr></table><a class="anchor" name="ga1" doxytag="treeview.h::TVN_SELCHANGE"></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 TVN_SELCHANGE&nbsp;&nbsp;&nbsp;1          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Notifies the change of selection. <p><p>Definition at line <a class="el" href="treeview_8h-source.htm#l00463">463</a> of file <a class="el" href="treeview_8h-source.htm">treeview.h</a>.    </td>  </tr></table><a class="anchor" name="ga3" doxytag="treeview.h::TVN_SETFOCUS"></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 TVN_SETFOCUS&nbsp;&nbsp;&nbsp;4          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Indicates gain of input focus. <p>A TreeView control sends an TVN_SETFOCUS notification message to its parent window when the list box gains the input focus. <p>Definition at line <a class="el" href="treeview_8h-source.htm#l00478">478</a> of file <a class="el" href="treeview_8h-source.htm">treeview.h</a>.    </td>  </tr></table><a class="anchor" name="ga8" doxytag="treeview.h::TVN_UNFOLDED"></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 TVN_UNFOLDED&nbsp;&nbsp;&nbsp;10          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Indicates a sub-tree has unfolded. <p><dl compact><dt><b>Note:</b></dt><dd>This is an extended notification, the control calls <em>NotifyParentEx</em> function to nofity the parent, and passes the handle to the unfolded item through <em>add_data</em> argument of <em>NotifyParentEx</em> function. You should define and set Notificaton Callback Procedure for the control in order to get the handle to the unfolded item.</dd></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="group__control__fns.htm#ga3">SetNotificationCallback</a>, <a class="el" href="group__misc__fns.htm#ga9">NotifyParentEx</a> </dd></dl><p>Definition at line <a class="el" href="treeview_8h-source.htm#l00527">527</a> of file <a class="el" href="treeview_8h-source.htm">treeview.h</a>.    </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&nbsp;<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 + -