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

📄 group__mgext__skin__fns.htm

📁 MINIGUI1.6开发API
💻 HTM
📖 第 1 页 / 共 5 页
字号:
    <td><p>Rotation slider item info structure     </td>  </tr></table><a class="anchor" name="ga3" doxytag="skin.h::sie_slider_t"></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">typedef struct <a class="el" href="structsie__slider__s.htm">sie_slider_s</a>  <a class="el" href="structsie__slider__s.htm">sie_slider_t</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Slider information structure     </td>  </tr></table><a class="anchor" name="ga8" doxytag="skin.h::skin_event_cb_t"></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">int(* <a class="el" href="group__mgext__skin__fns.htm#ga8">skin_event_cb_t</a>)(<a class="el" href="group__handles.htm#ga1">HWND</a> hwnd, <a class="el" href="structskin__item__s.htm">skin_item_t</a> *item,          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>int event, void* data)<p>Event callback of skin item.<p>The event can be one of the following values:<p><ul><li>SIE_GAIN_FOCUS<br> The item gained the focus.</li><li>SIE_LOST_FOCUS<br> The item losted the focus.</li><li>SIE_BUTTON_CLICKED<br> The button item has been clicked.</li><li>SIE_SLIDER_CHANGED<br> The position of the slider item has changed. </li></ul><p>Definition at line <a class="el" href="skin_8h-source.htm#l00544">544</a> of file <a class="el" href="skin_8h-source.htm">skin.h</a>.    </td>  </tr></table><a class="anchor" name="ga1" doxytag="skin.h::skin_head_t"></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">typedef struct <a class="el" href="structskin__head__s.htm">skin_head_s</a> <a class="el" href="structskin__head__s.htm">skin_head_t</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="structskin__head__s.htm">skin_head_s</a> </dd></dl><p>Definition at line <a class="el" href="skin_8h-source.htm#l00273">273</a> of file <a class="el" href="skin_8h-source.htm">skin.h</a>.    </td>  </tr></table><a class="anchor" name="ga0" doxytag="skin.h::skin_item_ops_t"></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">typedef struct <a class="el" href="structskin__item__ops__s.htm">skin_item_ops_s</a> <a class="el" href="structskin__item__ops__s.htm">skin_item_ops_t</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="structskin__item__ops__s.htm">skin_item_ops_s</a> </dd></dl><p>Definition at line <a class="el" href="skin_8h-source.htm#l00267">267</a> of file <a class="el" href="skin_8h-source.htm">skin.h</a>.    </td>  </tr></table><a class="anchor" name="ga2" doxytag="skin.h::skin_item_t"></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">typedef struct <a class="el" href="structskin__item__s.htm">skin_item_s</a>  <a class="el" href="structskin__item__s.htm">skin_item_t</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Skin item information structure     </td>  </tr></table><a class="anchor" name="ga9" doxytag="skin.h::skin_msg_cb_t"></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">int(* <a class="el" href="group__mgext__skin__fns.htm#ga9">skin_msg_cb_t</a>)(<a class="el" href="group__handles.htm#ga1">HWND</a> hwnd, int message,          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>WPARAM wparam, LPARAM lparam, int* result)<p>This is the type of message callback function of a skin window.<p>Before a skin window processes a message, it will call the message callback function if the application defined it.<p>The application defined message callback function can process the message as a normal window procedure and return the result through the parameter <em>result</em>. However, the return value of a message callback function can be used to control the behavior of the skin window's message handling procedure. It can be one of the following values:<p><ul><li>MSG_CB_GOON The message should be processed by skin window procedure, and the result of the callback will be ignored.</li><li>MSG_CB_DEF_GOON The message should be processed by the default window procedure, and the result of the callback will be ignored.</li><li>MSG_CB_STOP The message should not be processed, and the result is valid. </li></ul><p>Definition at line <a class="el" href="skin_8h-source.htm#l00589">589</a> of file <a class="el" href="skin_8h-source.htm">skin.h</a>.    </td>  </tr></table><hr><h2>Function Documentation</h2><a class="anchor" name="ga13" doxytag="skin.h::create_skin_control"></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__handles.htm#ga1">HWND</a> create_skin_control           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="structskin__head__s.htm">skin_head_t</a> *&nbsp;</td>          <td class="mdname" nowrap> <em>skin</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap><a class="el" href="group__handles.htm#ga1">HWND</a>&nbsp;</td>          <td class="mdname" nowrap> <em>parent</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>id</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>x</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>y</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>w</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>h</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>Creates a control for a skin. <p>This function creates a control for the skin pointed to by <em>skin</em>.<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>skin</em>&nbsp;</td><td>The pointer to the initialized skin object. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>parent</em>&nbsp;</td><td>The handle to the parent window of the expected control. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>id</em>&nbsp;</td><td>The identifier of the expected control. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>x</em>&nbsp;</td><td>X-coordinate of the expected control in the parent window's client area. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>y</em>&nbsp;</td><td>Y-coordinate of the expected control in the parent window's client area. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>w</em>&nbsp;</td><td>The width of the expected control. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>h</em>&nbsp;</td><td>The height of the expected control.</td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>The handle to the control.</dd></dl><dl compact><dt><b>Note:</b></dt><dd>The skin will store itself as the control's additional data, so application should not call SetWindowAdditionalData to store other value.</dd></dl>You can also create a skin control by calling CreateWindowEx in the following manner: <div class="fragment"><pre class="fragment">     <a class="code" href="group__control__fns.htm#ga1">CreateWindowEx</a> (<a class="code" href="group__mgext__skin__fns.htm#ga76">CTRL_SKIN</a>, <span class="stringliteral">""</span>, <a class="code" href="group__styles.htm#ga6">WS_VISIBLE</a> | <a class="code" href="group__styles.htm#ga3">WS_CHILD</a>, <a class="code" href="group__styles.htm#ga20">WS_EX_NONE</a>,                      <span class="keywordtype">id</span>, x, y, w, h, parent, (<a class="code" href="group__win32__types.htm#ga4">DWORD</a>) skin);</pre></div><p><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="group__mgext__skin__fns.htm#ga87">create_skin_main_window</a> </dd></dl>    </td>  </tr></table><a class="anchor" name="ga12" doxytag="skin.h::create_skin_main_window_ex"></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__handles.htm#ga1">HWND</a> create_skin_main_window_ex           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="structskin__head__s.htm">skin_head_t</a> *&nbsp;</td>          <td class="mdname" nowrap> <em>skin</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap><a class="el" href="group__handles.htm#ga1">HWND</a>&nbsp;</td>          <td class="mdname" nowrap> <em>hosting</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>lx</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>ty</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>rx</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>by</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap><a class="el" href="group__win32__types.htm#ga4">DWORD</a>&nbsp;</td>          <td class="mdname" nowrap> <em>dwExStyle</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>modal</em></td>        </tr>        <tr>   

⌨️ 快捷键说明

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