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

📄 group__scrollbar__fns.htm

📁 MINIGUI1.6开发API
💻 HTM
📖 第 1 页 / 共 2 页
字号:
      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Retrives the minimum and maximum position values for the specified scroll bar. <p>This function retrives the minimum and maximum position values for the specified scroll bar.<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>hWnd</em>&nbsp;</td><td>The handle to the window. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>iSBar</em>&nbsp;</td><td>Indicates to enable or disable which scroll bar, can be one of the following values:<ul><li>SB_HORZ<br> The horizontal scroll bar.</li><li>SB_VERT<br> The vertical scroll bar. </li></ul></td></tr>    <tr><td valign="top"></td><td valign="top"><em>pMinPos</em>&nbsp;</td><td>The pointer to a integer which receives the minimum position value. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>pMaxPos</em>&nbsp;</td><td>The pointer to a integer which receives the maximum position value.</td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>TRUE on success, FALSE on error.</dd></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="group__scrollbar__fns.htm#ga6">SetScrollRange</a> </dd></dl>    </td>  </tr></table><a class="anchor" name="ga8" doxytag="window.h::SetScrollInfo"></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"><a class="el" href="group__simple__types.htm#ga0">BOOL</a> GUIAPI SetScrollInfo           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="group__handles.htm#ga1">HWND</a>&nbsp;</td>          <td class="mdname" nowrap> <em>hWnd</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>int&nbsp;</td>          <td class="mdname" nowrap> <em>iSBar</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>const <a class="el" href="struct__SCROLLINFO.htm">SCROLLINFO</a> *&nbsp;</td>          <td class="mdname" nowrap> <em>lpsi</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap><a class="el" href="group__simple__types.htm#ga0">BOOL</a>&nbsp;</td>          <td class="mdname" nowrap> <em>fRedraw</em></td>        </tr>        <tr>          <td class="md"></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Sets the parameters of a scroll bar. <p>This function sets the parameters of a scroll bar, including the minimum and maximum scrolling positions, the page size, and the position of the scroll box (thumb). The function also redraws the scroll bar, if requested.<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>hWnd</em>&nbsp;</td><td>The handle to the window. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>iSBar</em>&nbsp;</td><td>Indicates to enable or disable which scroll bar, can be one of the following values:<ul><li>SB_HORZ<br> The horizontal scroll bar.</li><li>SB_VERT<br> The vertical scroll bar. </li></ul></td></tr>    <tr><td valign="top"></td><td valign="top"><em>lpsi</em>&nbsp;</td><td>The pointer to the structure of scroll bar information. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>fRedraw</em>&nbsp;</td><td>A boolean indicates whether to redraw the scroll bar. </td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>TRUE on success, FALSE on error.</dd></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="group__scrollbar__fns.htm#ga9">GetScrollInfo</a>, <a class="el" href="group__scrollbar__fns.htm#ga0">SCROLLINFO</a> </dd></dl>    </td>  </tr></table><a class="anchor" name="ga5" doxytag="window.h::SetScrollPos"></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"><a class="el" href="group__simple__types.htm#ga0">BOOL</a> GUIAPI SetScrollPos           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="group__handles.htm#ga1">HWND</a>&nbsp;</td>          <td class="mdname" nowrap> <em>hWnd</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>int&nbsp;</td>          <td class="mdname" nowrap> <em>iSBar</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>int&nbsp;</td>          <td class="mdname" nowrap> <em>iNewPos</em></td>        </tr>        <tr>          <td class="md"></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Sets the position of the scroll box (thumb) of the specified scroll bar. <p>This function sets the position of the scroll box (thumb) of the specified scroll bar, and if needed, redraws the scroll bar to reflect the new position of the scroll box.<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>hWnd</em>&nbsp;</td><td>The handle to the window. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>iSBar</em>&nbsp;</td><td>Indicates to enable or disable which scroll bar, can be one of the following values:<ul><li>SB_HORZ<br> The horizontal scroll bar.</li><li>SB_VERT<br> The vertical scroll bar. </li></ul></td></tr>    <tr><td valign="top"></td><td valign="top"><em>iNewPos</em>&nbsp;</td><td>The new position value.</td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>TRUE on success, FALSE on error.</dd></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="group__scrollbar__fns.htm#ga3">GetScrollPos</a> </dd></dl>    </td>  </tr></table><a class="anchor" name="ga6" doxytag="window.h::SetScrollRange"></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"><a class="el" href="group__simple__types.htm#ga0">BOOL</a> GUIAPI SetScrollRange           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="group__handles.htm#ga1">HWND</a>&nbsp;</td>          <td class="mdname" nowrap> <em>hWnd</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>int&nbsp;</td>          <td class="mdname" nowrap> <em>iSBar</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>int&nbsp;</td>          <td class="mdname" nowrap> <em>iMinPos</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>int&nbsp;</td>          <td class="mdname" nowrap> <em>iMaxPos</em></td>        </tr>        <tr>          <td class="md"></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Sets the minimum and maximum position values for the specified scroll bar. <p>This function sets the minimum and maximum position values for the specified scroll bar, and if needed, redraws the scroll bar to reflect the new position values of the scroll box.<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>hWnd</em>&nbsp;</td><td>The handle to the window. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>iSBar</em>&nbsp;</td><td>Indicates to enable or disable which scroll bar, can be one of the following values:<ul><li>SB_HORZ<br> The horizontal scroll bar.</li><li>SB_VERT<br> The vertical scroll bar. </li></ul></td></tr>    <tr><td valign="top"></td><td valign="top"><em>iMinPos</em>&nbsp;</td><td>The new minimum position value. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>iMaxPos</em>&nbsp;</td><td>The new maximum position value.</td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>TRUE on success, FALSE on error.</dd></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="group__scrollbar__fns.htm#ga4">GetScrollRange</a> </dd></dl>    </td>  </tr></table><a class="anchor" name="ga7" doxytag="window.h::ShowScrollBar"></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"><a class="el" href="group__simple__types.htm#ga0">BOOL</a> GUIAPI ShowScrollBar           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="group__handles.htm#ga1">HWND</a>&nbsp;</td>          <td class="mdname" nowrap> <em>hWnd</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>int&nbsp;</td>          <td class="mdname" nowrap> <em>iSBar</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap><a class="el" href="group__simple__types.htm#ga0">BOOL</a>&nbsp;</td>          <td class="mdname" nowrap> <em>bShow</em></td>        </tr>        <tr>          <td class="md"></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Shows or hides the specified scroll bar. <p>This function shows or hides the specified scroll bar.<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>hWnd</em>&nbsp;</td><td>The handle to the window. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>iSBar</em>&nbsp;</td><td>Indicates to enable or disable which scroll bar, can be one of the following values:<ul><li>SB_HORZ<br> The horizontal scroll bar.</li><li>SB_VERT<br> The vertical scroll bar. </li></ul></td></tr>    <tr><td valign="top"></td><td valign="top"><em>bShow</em>&nbsp;</td><td>Indicates whether show or hide the scrollbar.</td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>TRUE on success, FALSE on error.</dd></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="group__scrollbar__fns.htm#ga2">EnableScrollBar</a> </dd></dl>    </td>  </tr></table><hr size="1"><address style="align: right;"><small>Generated on Thu Nov 22 15:35:55 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 + -