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

📄 group__mgext__ctrl__spinbox__msgs.htm

📁 MINIGUI1.6开发API
💻 HTM
📖 第 1 页 / 共 2 页
字号:
 wParam = 0; lParam = 0;</pre></div><p><dl compact><dt><b>Returns:</b></dt><dd>The current position in the range of the spinbox. </dd></dl><p>Definition at line <a class="el" href="spinbox_8h-source.htm#l00311">311</a> of file <a class="el" href="spinbox_8h-source.htm">spinbox.h</a>.    </td>  </tr></table><a class="anchor" name="ga4" doxytag="spinbox.h::SPM_GETINFO"></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 SPM_GETINFO&nbsp;&nbsp;&nbsp;0xF303          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Gets the parameter infos of the spinbox. <p><div class="fragment"><pre class="fragment"> <a class="code" href="group__mgext__ctrl__spinbox__msgs.htm#ga4">SPM_GETINFO</a> <a class="code" href="struct__SPININFO.htm">PSPININFO</a> info; wParam = 0; lParam = (<a class="code" href="group__win32__types.htm#ga9">LPARAM</a>)info;</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>info</em>&nbsp;</td><td>Pointer to the SPININFO structure retreiving the spinbox info.</td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>Zero on success, -1 to indicate invalid parameter.</dd></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="group__mgext__ctrl__spinbox.htm#ga0">SPININFO</a> </dd></dl><p>Definition at line <a class="el" href="spinbox_8h-source.htm#l00218">218</a> of file <a class="el" href="spinbox_8h-source.htm">spinbox.h</a>.    </td>  </tr></table><a class="anchor" name="ga2" doxytag="spinbox.h::SPM_GETTARGET"></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 SPM_GETTARGET&nbsp;&nbsp;&nbsp;0xF301          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Gets the target window of the spinbox. <p><div class="fragment"><pre class="fragment"> <a class="code" href="group__mgext__ctrl__spinbox__msgs.htm#ga2">SPM_GETTARGET</a> wParam = 0; lParam = 0;</pre></div><p><dl compact><dt><b>Returns:</b></dt><dd>The handle to the target window. </dd></dl><p>Definition at line <a class="el" href="spinbox_8h-source.htm#l00178">178</a> of file <a class="el" href="spinbox_8h-source.htm">spinbox.h</a>.    </td>  </tr></table><a class="anchor" name="ga9" doxytag="spinbox.h::SPM_SETCUR"></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 SPM_SETCUR&nbsp;&nbsp;&nbsp;0xF308          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Sets the current position in the range of the spinbox. <p><div class="fragment"><pre class="fragment"> <a class="code" href="group__mgext__ctrl__spinbox__msgs.htm#ga9">SPM_SETCUR</a> <span class="keywordtype">int</span> pos; wParam = (<a class="code" href="group__win32__types.htm#ga8">WPARAM</a>)pos; 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>pos</em>&nbsp;</td><td>The current position to set.</td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>Zero on success, -1 to indicate invalid parameter. </dd></dl><p>Definition at line <a class="el" href="spinbox_8h-source.htm#l00296">296</a> of file <a class="el" href="spinbox_8h-source.htm">spinbox.h</a>.    </td>  </tr></table><a class="anchor" name="ga3" doxytag="spinbox.h::SPM_SETINFO"></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 SPM_SETINFO&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 parameter information of the spinbox. <p><div class="fragment"><pre class="fragment"> <a class="code" href="group__mgext__ctrl__spinbox__msgs.htm#ga3">SPM_SETINFO</a> <a class="code" href="struct__SPININFO.htm">PSPININFO</a> newinfo; wParam = 0; lParam = (<a class="code" href="group__win32__types.htm#ga9">LPARAM</a>)newinfo;</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>newinfo</em>&nbsp;</td><td>Pointer to the SPININFO structure storing the new spinbox info.</td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>Zero on success, -1 to indicate invalid parameter.</dd></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="group__mgext__ctrl__spinbox.htm#ga0">SPININFO</a> </dd></dl><p>Definition at line <a class="el" href="spinbox_8h-source.htm#l00198">198</a> of file <a class="el" href="spinbox_8h-source.htm">spinbox.h</a>.    </td>  </tr></table><a class="anchor" name="ga1" doxytag="spinbox.h::SPM_SETTARGET"></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 SPM_SETTARGET&nbsp;&nbsp;&nbsp;0xF300          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Sets the target window of the spinbox. <p>When the user click the up/left or down/right arrow of the spin box, it will emulate the down and up of the key SCANCODE_CURSORBLOCKUP or SCANCODE_CURSORBLOCKDOWN, and post MSG_KEYDOWN and MSG_KEYUP message to the target window. Note that the shifit key status of the message will have the flag KS_SPINPOST set.<p><div class="fragment"><pre class="fragment"> <a class="code" href="group__mgext__ctrl__spinbox__msgs.htm#ga1">SPM_SETTARGET</a> <a class="code" href="group__handles.htm#ga1">HWND</a> hTarget; wParam = 0; lParam = (<a class="code" href="group__win32__types.htm#ga9">LPARAM</a>)hTarget;</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>hTarget</em>&nbsp;</td><td>Handle of the target window. </td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>Always be zero. </dd></dl><p>Definition at line <a class="el" href="spinbox_8h-source.htm#l00163">163</a> of file <a class="el" href="spinbox_8h-source.htm">spinbox.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 + -