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

📄 group__ctrl__scrollview__msgs.htm

📁 MINIGUI1.6开发API
💻 HTM
📖 第 1 页 / 共 5 页
字号:
<p>Definition at line <a class="el" href="scrollview_8h-source.htm#l00332">332</a> of file <a class="el" href="scrollview_8h-source.htm">scrollview.h</a>.    </td>  </tr></table><a class="anchor" name="ga27" doxytag="scrollview.h::SVM_SETCURSEL"></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 SVM_SETCURSEL&nbsp;&nbsp;&nbsp;0xF322          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Makes an item as the current hilighted item in the scrollview item. <p><div class="fragment"><pre class="fragment"> <a class="code" href="group__ctrl__scrollview__msgs.htm#ga27">SVM_SETCURSEL</a> <span class="keywordtype">int</span> nItem; <a class="code" href="group__simple__types.htm#ga0">BOOL</a> bVisible; wParam = (<a class="code" href="group__win32__types.htm#ga8">WPARAM</a>)nItem; lParam = (<a class="code" href="group__win32__types.htm#ga9">LPARAM</a>)bVisible;</pre></div><p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>nitem</em>&nbsp;</td><td>Item index. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>bVisible</em>&nbsp;</td><td>If bVisible is TRUE, this item wille be made visible.</td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>old hilighted item index on success, otherwise -1. </dd></dl><p>Definition at line <a class="el" href="scrollview_8h-source.htm#l00736">736</a> of file <a class="el" href="scrollview_8h-source.htm">scrollview.h</a>.    </td>  </tr></table><a class="anchor" name="ga43" doxytag="scrollview.h::SVM_SETITEMADDDATA"></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 SVM_SETITEMADDDATA&nbsp;&nbsp;&nbsp;0xF334          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Sets the additional data of the item. <p><div class="fragment"><pre class="fragment"> <a class="code" href="group__ctrl__scrollview__msgs.htm#ga43">SVM_SETITEMADDDATA</a> <span class="keywordtype">int</span> nitem; <span class="keywordtype">int</span> addData; wParam = (<a class="code" href="group__win32__types.htm#ga8">WPARAM</a>)nitem; lParam = (<a class="code" href="group__win32__types.htm#ga9">LPARAM</a>)addData;</pre></div><p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>nitem</em>&nbsp;</td><td>Item index. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>addData</em>&nbsp;</td><td>Additional data</td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>Old item additional data. </dd></dl><p>Definition at line <a class="el" href="scrollview_8h-source.htm#l01010">1010</a> of file <a class="el" href="scrollview_8h-source.htm">scrollview.h</a>.    </td>  </tr></table><a class="anchor" name="ga30" doxytag="scrollview.h::SVM_SETITEMCMP"></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 SVM_SETITEMCMP&nbsp;&nbsp;&nbsp;0xF327          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Sets the item compare function. <p><div class="fragment"><pre class="fragment"> <a class="code" href="group__ctrl__scrollview__msgs.htm#ga30">SVM_SETITEMCMP</a> <a class="code" href="group__ctrl__scrollview.htm#ga6">SVITEM_CMP</a> *pfn; wParam = 0; lParam = (<a class="code" href="group__win32__types.htm#ga9">LPARAM</a>)pfn;</pre></div><p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>pfn</em>&nbsp;</td><td>New item compare function</td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>Old function on success; otherwise NULL. </dd></dl><p>Definition at line <a class="el" href="scrollview_8h-source.htm#l00796">796</a> of file <a class="el" href="scrollview_8h-source.htm">scrollview.h</a>.    </td>  </tr></table><a class="anchor" name="ga29" doxytag="scrollview.h::SVM_SETITEMDESTROY"></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 SVM_SETITEMDESTROY&nbsp;&nbsp;&nbsp;0xF324          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Sets the destroy operation of the items in the scrollview. <p>Normally item operations should be set before adding items. The destroy callback function will be called when deleting an item<p><div class="fragment"><pre class="fragment"> <a class="code" href="group__ctrl__scrollview__msgs.htm#ga29">SVM_SETITEMDESTROY</a> <a class="code" href="group__ctrl__scrollview.htm#ga4">SVITEM_DESTROYFUNC</a> *pfn; wParam = 0; lParam = (<a class="code" href="group__win32__types.htm#ga9">LPARAM</a>)pfn;</pre></div><p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>pfn</em>&nbsp;</td><td>Item destroy operation function</td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>Old function on success; otherwise NULL. </dd></dl><p>Definition at line <a class="el" href="scrollview_8h-source.htm#l00778">778</a> of file <a class="el" href="scrollview_8h-source.htm">scrollview.h</a>.    </td>  </tr></table><a class="anchor" name="ga2" doxytag="scrollview.h::SVM_SETITEMDRAW"></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 SVM_SETITEMDRAW&nbsp;&nbsp;&nbsp;0xF302          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Sets the drawing operation of an item. <p>Scrollview item drawing function will be called when doing with MSG_PAINT message, scrollview window should define this function if it want to draw an customed item.<p><div class="fragment"><pre class="fragment"> <a class="code" href="group__ctrl__scrollview__msgs.htm#ga2">SVM_SETITEMDRAW</a> <a class="code" href="group__ctrl__scrollview.htm#ga5">SVITEM_DRAWFUNC</a> pfn; wParam = 0; lParam = (<a class="code" href="group__win32__types.htm#ga9">LPARAM</a>)pfn;</pre></div><p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>pfn</em>&nbsp;</td><td>Scrollview item drawing function.</td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>Old drawing function pointer; otherwise 0. </dd></dl><p>Definition at line <a class="el" href="scrollview_8h-source.htm#l00292">292</a> of file <a class="el" href="scrollview_8h-source.htm">scrollview.h</a>.    </td>  </tr></table><a class="anchor" name="ga45" doxytag="scrollview.h::SVM_SETITEMHEIGHT"></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 SVM_SETITEMHEIGHT&nbsp;&nbsp;&nbsp;0xF336          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Sets the height of an item. <p><div class="fragment"><pre class="fragment"> <a class="code" href="group__ctrl__scrollview__msgs.htm#ga45">SVM_SETITEMHEIGHT</a> <span class="keywordtype">int</span> nitem; <span class="keywordtype">int</span> height; wParam = (<a class="code" href="group__win32__types.htm#ga8">WPARAM</a>)nitem; lParam = (<a class="code" href="group__win32__types.htm#ga9">LPARAM</a>)height;</pre></div><p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>nitem</em>&nbsp;</td><td>Item index. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>height</em>&nbsp;</td><td>New height of the item</td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>Old item height. </dd></dl><p>Definition at line <a class="el" href="scrollview_8h-source.htm#l01050">1050</a> of file <a class="el" href="scrollview_8h-source.htm">scrollview.h</a>.    </td>  </tr></table><a class="anchor" name="ga28" doxytag="scrollview.h::SVM_SETITEMINIT"></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 SVM_SETITEMINIT&nbsp;&nbsp;&nbsp;0xF323          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Sets the init operation of the items in the scrollview. <p>Normally item operations should be set before adding items. The initialization callback function will be called when adding an item.<p><div class="fragment"><pre class="fragment"> <a class="code" href="group__ctrl__scrollview__msgs.htm#ga28">SVM_SETITEMINIT</a> <a class="code" href="group__ctrl__scrollview.htm#ga3">SVITEM_INITFUNC</a> *pfn; wParam = 0; lParam = (<a class="code" href="group__win32__types.htm#ga9">LPARAM</a>)pfn;</pre></div><p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>pfn</em>&nbsp;</td><td>Item init operation function</td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>Old function on success; otherwise NULL. </dd></dl><p>Definition at line <a class="el" href="scrollview_8h-source.htm#l00757">757</a> of file <a class="el" href="scrollview_8h-source.htm">scrollview.h</a>.    </td>  </tr></table><a class="anchor" name="ga8" doxytag="scrollview.h::SVM_SETITEMOPS"></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 SVM_SETITEMOPS&nbsp;&nbsp;&nbsp;0xF30a          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Sets the item operations of the items in the scrollview. <p>Normally item operations should be set before adding items.<p><div class="fragment"><pre class="fragment"> <a class="code" href="group__ctrl__scrollview__msgs.htm#ga8">SVM_SETITEMOPS</a> <a class="code" href="struct__svitem__operations.htm">SVITEMOPS</a> *iop; wParam = 0; lParam = (<a class="code" href="group__win32__types.htm#ga9">LPARAM</a>)iop;</pre></div><p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign

⌨️ 快捷键说明

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