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

📄 group__ctrl__scrollview__msgs.htm

📁 MINIGUI1.6开发API
💻 HTM
📖 第 1 页 / 共 5 页
字号:
<p>Definition at line <a class="el" href="scrollview_8h-source.htm#l00618">618</a> of file <a class="el" href="scrollview_8h-source.htm">scrollview.h</a>.    </td>  </tr></table><a class="anchor" name="ga18" doxytag="scrollview.h::SVM_GETCONTHEIGHT"></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_GETCONTHEIGHT&nbsp;&nbsp;&nbsp;0xF319          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Gets the height of the content area. <p><div class="fragment"><pre class="fragment"> <a class="code" href="group__ctrl__scrollview__msgs.htm#ga18">SVM_GETCONTHEIGHT</a> wParam = 0; lParam = 0;</pre></div><p><dl compact><dt><b>Returns:</b></dt><dd>Height of the content area on success, otherwise -1. </dd></dl><p>Definition at line <a class="el" href="scrollview_8h-source.htm#l00566">566</a> of file <a class="el" href="scrollview_8h-source.htm">scrollview.h</a>.    </td>  </tr></table><a class="anchor" name="ga17" doxytag="scrollview.h::SVM_GETCONTWIDTH"></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_GETCONTWIDTH&nbsp;&nbsp;&nbsp;0xF318          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Gets the width of the content area. <p><div class="fragment"><pre class="fragment"> <a class="code" href="group__ctrl__scrollview__msgs.htm#ga17">SVM_GETCONTWIDTH</a> wParam = 0; lParam = 0;</pre></div><p><dl compact><dt><b>Returns:</b></dt><dd>Width of the content area on success, otherwise -1. </dd></dl><p>Definition at line <a class="el" href="scrollview_8h-source.htm#l00551">551</a> of file <a class="el" href="scrollview_8h-source.htm">scrollview.h</a>.    </td>  </tr></table><a class="anchor" name="ga6" doxytag="scrollview.h::SVM_GETCTRL"></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_GETCTRL&nbsp;&nbsp;&nbsp;0xF308          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Gets the control handle in the scrollview window by control id. <p><div class="fragment"><pre class="fragment"> <a class="code" href="group__ctrl__scrollview__msgs.htm#ga6">SVM_GETCTRL</a> <span class="keywordtype">int</span> id; wParam = (<a class="code" href="group__win32__types.htm#ga8">WPARAM</a>)id; lParam = 0;</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>id</em>&nbsp;</td><td>Control id.</td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>Control window handle on success; otherwise 0. </dd></dl><p>Definition at line <a class="el" href="scrollview_8h-source.htm#l00370">370</a> of file <a class="el" href="scrollview_8h-source.htm">scrollview.h</a>.    </td>  </tr></table><a class="anchor" name="ga23" doxytag="scrollview.h::SVM_GETCURSEL"></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_GETCURSEL&nbsp;&nbsp;&nbsp;0xF31e          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Gets the index of the current hilighted scrollview item. <p>An application sends an this message to a scrollview window to get the index of the currently selected item, if there is one, in a single-selection scrollview. For multiple-selection case, appliction send this message to a scrollview to get the index of the current highlighted item.<p><div class="fragment"><pre class="fragment"> <a class="code" href="group__ctrl__scrollview__msgs.htm#ga23">SVM_GETCURSEL</a> wParam = 0; lParam = 0;</pre></div><p><dl compact><dt><b>Returns:</b></dt><dd>Index of current hilighted item. </dd></dl><p>Definition at line <a class="el" href="scrollview_8h-source.htm#l00657">657</a> of file <a class="el" href="scrollview_8h-source.htm">scrollview.h</a>.    </td>  </tr></table><a class="anchor" name="ga46" doxytag="scrollview.h::SVM_GETFIRSTVISIBLEITEM"></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_GETFIRSTVISIBLEITEM&nbsp;&nbsp;&nbsp;0xF337          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Gets the index of the first visible item. <p><div class="fragment"><pre class="fragment"> <a class="code" href="group__ctrl__scrollview__msgs.htm#ga46">SVM_GETFIRSTVISIBLEITEM</a></pre></div><p><dl compact><dt><b>Returns:</b></dt><dd>Item index. </dd></dl><p>Definition at line <a class="el" href="scrollview_8h-source.htm#l01062">1062</a> of file <a class="el" href="scrollview_8h-source.htm">scrollview.h</a>.    </td>  </tr></table><a class="anchor" name="ga33" doxytag="scrollview.h::SVM_GETFOCUSCHILD"></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_GETFOCUSCHILD&nbsp;&nbsp;&nbsp;0xF32a          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Gets the focus control in the scrollview. <p><div class="fragment"><pre class="fragment"> <a class="code" href="group__ctrl__scrollview__msgs.htm#ga33">SVM_GETFOCUSCHILD</a> wParam = 0; lParam = 0;</pre></div><p><dl compact><dt><b>Returns:</b></dt><dd>Handle of the focus control. </dd></dl><p>Definition at line <a class="el" href="scrollview_8h-source.htm#l00846">846</a> of file <a class="el" href="scrollview_8h-source.htm">scrollview.h</a>.    </td>  </tr></table><a class="anchor" name="ga36" doxytag="scrollview.h::SVM_GETHSCROLLPAGEVAL"></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_GETHSCROLLPAGEVAL&nbsp;&nbsp;&nbsp;0xF32d          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Gets the horizontal page scroll value. <p><div class="fragment"><pre class="fragment"> <a class="code" href="group__ctrl__scrollview__msgs.htm#ga36">SVM_GETHSCROLLPAGEVAL</a> wParam = 0; lParam = 0;</pre></div><p><dl compact><dt><b>Returns:</b></dt><dd>Current horizontal page scroll value. </dd></dl><p>Definition at line <a class="el" href="scrollview_8h-source.htm#l00891">891</a> of file <a class="el" href="scrollview_8h-source.htm">scrollview.h</a>.    </td>  </tr></table><a class="anchor" name="ga34" doxytag="scrollview.h::SVM_GETHSCROLLVAL"></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_GETHSCROLLVAL&nbsp;&nbsp;&nbsp;0xF32b          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Gets the horizontal scroll value. <p><div class="fragment"><pre class="fragment"> <a class="code" href="group__ctrl__scrollview__msgs.htm#ga34">SVM_GETHSCROLLVAL</a> wParam = 0; lParam = 0;</pre></div><p><dl compact><dt><b>Returns:</b></dt><dd>Current horizontal scroll value. </dd></dl><p>Definition at line <a class="el" href="scrollview_8h-source.htm#l00861">861</a> of file <a class="el" href="scrollview_8h-source.htm">scrollview.h</a>.    </td>  </tr></table><a class="anchor" name="ga42" doxytag="scrollview.h::SVM_GETITEMADDDATA"></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_GETITEMADDDATA&nbsp;&nbsp;&nbsp;0xF333          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Gets the additional data of the item. <p><div class="fragment"><pre class="fragment"> <a class="code" href="group__ctrl__scrollview__msgs.htm#ga42">SVM_GETITEMADDDATA</a> <span class="keywordtype">int</span> nItem; <a class="code" href="group__ctrl__scrollview.htm#ga0">HSVITEM</a> hsvi; 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>)hsvi;</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>Scrollview item index to access. If hsvi is not zero, nItem will be ignored. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>hsvi</em>&nbsp;</td><td>Scrollview item handle to access.</td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>Item additional data. </dd></dl><p>Definition at line <a class="el" href="scrollview_8h-source.htm#l00990">990</a> of file <a class="el" href="scrollview_8h-source.htm">scrollview.h</a>.    </td>  </tr></table><a class="anchor" name="ga41" doxytag="scrollview.h::SVM_GETITEMCOUNT"></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_GETITEMCOUNT&nbsp;&nbsp;&nbsp;0xF332          </td>

⌨️ 快捷键说明

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