📄 group__ctrl__scrollview__msgs.htm
字号:
</tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Gets the total number of the items. <p><dl compact><dt><b>Returns:</b></dt><dd>Number of the items. </dd></dl><p>Definition at line <a class="el" href="scrollview_8h-source.htm#l00969">969</a> of file <a class="el" href="scrollview_8h-source.htm">scrollview.h</a>. </td> </tr></table><a class="anchor" name="ga11" doxytag="scrollview.h::SVM_GETLEFTMARGIN"></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_GETLEFTMARGIN 0xF312 </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Gets the left margin value of the scrollview. <p><div class="fragment"><pre class="fragment"> <a class="code" href="group__ctrl__scrollview__msgs.htm#ga11">SVM_GETLEFTMARGIN</a> wParam = 0; lParam = 0;</pre></div><p><dl compact><dt><b>Returns:</b></dt><dd>Left margin value on success, otherwise -1. </dd></dl><p>Definition at line <a class="el" href="scrollview_8h-source.htm#l00461">461</a> of file <a class="el" href="scrollview_8h-source.htm">scrollview.h</a>. </td> </tr></table><a class="anchor" name="ga9" doxytag="scrollview.h::SVM_GETMARGINS"></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_GETMARGINS 0xF30b </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Gets the margin values of the scrollview. <p>Application should use a RECT structure to get left, top, right, and bottom margins.<p><div class="fragment"><pre class="fragment"> <a class="code" href="group__ctrl__scrollview__msgs.htm#ga9">SVM_GETMARGINS</a> <a class="code" href="struct__RECT.htm">RECT</a> rcMargin; wParam = 0; lParam = (<a class="code" href="group__win32__types.htm#ga9">LPARAM</a>)&rcMargin;</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>rcMargin</em> </td><td>A RECT for storing 4 margin values.</td></tr> </table></dl><dl compact><dt><b>Returns:</b></dt><dd>0 on success. </dd></dl><p>Definition at line <a class="el" href="scrollview_8h-source.htm#l00425">425</a> of file <a class="el" href="scrollview_8h-source.htm">scrollview.h</a>. </td> </tr></table><a class="anchor" name="ga13" doxytag="scrollview.h::SVM_GETRIGHTMARGIN"></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_GETRIGHTMARGIN 0xF314 </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Gets the right margin value of the scrollview. <p><div class="fragment"><pre class="fragment"> <a class="code" href="group__ctrl__scrollview__msgs.htm#ga13">SVM_GETRIGHTMARGIN</a> wParam = 0; lParam = 0;</pre></div><p><dl compact><dt><b>Returns:</b></dt><dd>Right margin value on success, otherwise -1. </dd></dl><p>Definition at line <a class="el" href="scrollview_8h-source.htm#l00491">491</a> of file <a class="el" href="scrollview_8h-source.htm">scrollview.h</a>. </td> </tr></table><a class="anchor" name="ga12" doxytag="scrollview.h::SVM_GETTOPMARGIN"></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_GETTOPMARGIN 0xF313 </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Gets the top margin value of the scrollview. <p><div class="fragment"><pre class="fragment"> <a class="code" href="group__ctrl__scrollview__msgs.htm#ga12">SVM_GETTOPMARGIN</a> wParam = 0; lParam = 0;</pre></div><p><dl compact><dt><b>Returns:</b></dt><dd>Top margin value on success, otherwise -1. </dd></dl><p>Definition at line <a class="el" href="scrollview_8h-source.htm#l00476">476</a> of file <a class="el" href="scrollview_8h-source.htm">scrollview.h</a>. </td> </tr></table><a class="anchor" name="ga16" doxytag="scrollview.h::SVM_GETVISIBLEHEIGHT"></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_GETVISIBLEHEIGHT 0xF317 </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Gets the height of the visible content area. <p><div class="fragment"><pre class="fragment"> <a class="code" href="group__ctrl__scrollview__msgs.htm#ga16">SVM_GETVISIBLEHEIGHT</a> wParam = 0; lParam = 0;</pre></div><p><dl compact><dt><b>Returns:</b></dt><dd>Height of the visible content area on success, otherwise -1. </dd></dl><p>Definition at line <a class="el" href="scrollview_8h-source.htm#l00536">536</a> of file <a class="el" href="scrollview_8h-source.htm">scrollview.h</a>. </td> </tr></table><a class="anchor" name="ga15" doxytag="scrollview.h::SVM_GETVISIBLEWIDTH"></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_GETVISIBLEWIDTH 0xF316 </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Gets the width of the visible content area. <p><div class="fragment"><pre class="fragment"> <a class="code" href="group__ctrl__scrollview__msgs.htm#ga15">SVM_GETVISIBLEWIDTH</a> wParam = 0; lParam = 0;</pre></div><p><dl compact><dt><b>Returns:</b></dt><dd>Width of the visible content area on success, otherwise -1. </dd></dl><p>Definition at line <a class="el" href="scrollview_8h-source.htm#l00521">521</a> of file <a class="el" href="scrollview_8h-source.htm">scrollview.h</a>. </td> </tr></table><a class="anchor" name="ga37" doxytag="scrollview.h::SVM_GETVSCROLLPAGEVAL"></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_GETVSCROLLPAGEVAL 0xF32e </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Gets the vertical page scroll value. <p><div class="fragment"><pre class="fragment"> <a class="code" href="group__ctrl__scrollview__msgs.htm#ga37">SVM_GETVSCROLLPAGEVAL</a> wParam = 0; lParam = 0;</pre></div><p><dl compact><dt><b>Returns:</b></dt><dd>Current vertical page scroll value. </dd></dl><p>Definition at line <a class="el" href="scrollview_8h-source.htm#l00906">906</a> of file <a class="el" href="scrollview_8h-source.htm">scrollview.h</a>. </td> </tr></table><a class="anchor" name="ga35" doxytag="scrollview.h::SVM_GETVSCROLLVAL"></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_GETVSCROLLVAL 0xF32c </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Gets the vertical scroll value. <p><div class="fragment"><pre class="fragment"> <a class="code" href="group__ctrl__scrollview__msgs.htm#ga35">SVM_GETVSCROLLVAL</a> wParam = 0; lParam = 0;</pre></div><p><dl compact><dt><b>Returns:</b></dt><dd>Current vertical scroll value. </dd></dl><p>Definition at line <a class="el" href="scrollview_8h-source.htm#l00876">876</a> of file <a class="el" href="scrollview_8h-source.htm">scrollview.h</a>. </td> </tr></table><a class="anchor" name="ga31" doxytag="scrollview.h::SVM_MAKEPOSVISIBLE"></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_MAKEPOSVISIBLE 0xF328 </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Makes a position in the content area visible. <p><div class="fragment"><pre class="fragment"> <a class="code" href="group__ctrl__scrollview__msgs.htm#ga31">SVM_MAKEPOSVISIBLE</a> <span class="keywordtype">int</span> pos_x, pos_y; wParam = (<a class="code" href="group__win32__types.htm#ga8">WPARAM</a>)pos_x; lParam = (<a class="code" href="group__win32__types.htm#ga9">LPARAM</a>)pos_y;</pre></div><p>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -