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

📄 group__mgext__ctrl__animation__styles.htm

📁 MINIGUI1.6开发API
💻 HTM
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>MiniGUI V1.6.10 API Reference: Styles of ANIMATION control</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.4.2 --><div class="qindex"><a class="qindex" href="index.htm">Main&nbsp;Page</a> | <a class="qindex" href="modules.htm">Modules</a> | <a class="qindex" href="classes.htm">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.htm">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.htm">Directories</a> | <a class="qindex" href="files.htm">File&nbsp;List</a> | <a class="qindex" href="functions.htm">Data&nbsp;Fields</a> | <a class="qindex" href="globals.htm">Globals</a> | <a class="qindex" href="pages.htm">Related&nbsp;Pages</a></div><h1>Styles of ANIMATION control<br><small>[<a class="el" href="group__mgext__ctrl__animation.htm">ANIMATION control and animation GIF (GIF87a/GIF89a) support</a>]</small></h1><h2>Defines</h2><ul><li>#define <a class="el" href="group__mgext__ctrl__animation__styles.htm#ga0">ANS_AUTOLOOP</a>&nbsp;&nbsp;&nbsp;0x0001L<dl class="el"><dd class="mdescRight">Loop playing the animation automatically.  <a href="#ga0"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__animation__styles.htm#ga1">ANS_SCALED</a>&nbsp;&nbsp;&nbsp;0x0002L<dl class="el"><dd class="mdescRight">Scale the animation to the control size.  <a href="#ga1"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__animation__styles.htm#ga2">ANS_FITTOANI</a>&nbsp;&nbsp;&nbsp;0x0004L<dl class="el"><dd class="mdescRight">Resize the control to fit the animation.  <a href="#ga2"></a><br></dl></ul><hr><a name="_details"></a><h2>Detailed Description</h2>This control can be used to play the animation object, and you should specify the animation object when you create the control by using the dwAddData:<p><div class="fragment"><pre class="fragment">  <a class="code" href="group__handles.htm#ga1">HWND</a> hwnd;  <a class="code" href="struct__ANIMATION.htm">ANIMATION</a>* anim = <a class="code" href="group__mgext__ctrl__animation.htm#ga3">CreateAnimationFromGIF89aFile</a> (<a class="code" href="group__dc__fns.htm#ga22">HDC_SCREEN</a>, <span class="stringliteral">"banner.gif"</span>);  <span class="keywordflow">if</span> (anim == <a class="code" href="group__simple__types.htm#ga3">NULL</a>)      <span class="keywordflow">goto</span> error;  hwnd = <a class="code" href="group__control__fns.htm#ga5">CreateWindow</a> (<a class="code" href="group__mgext__ctrl__animation.htm#ga6">CTRL_ANIMATION</a>,                    <span class="stringliteral">""</span>,                    <a class="code" href="group__styles.htm#ga6">WS_VISIBLE</a> | <a class="code" href="group__mgext__ctrl__animation__styles.htm#ga0">ANS_AUTOLOOP</a>,                    100,                    10, 10, 300, 200, hWnd, (<a class="code" href="group__win32__types.htm#ga4">DWORD</a>)anim);  <a class="code" href="group__msg__pass__fns.htm#ga9">SendMessage</a> (hwnd, <a class="code" href="group__mgext__control__animation__msgs.htm#ga2">ANM_STARTPLAY</a>, 0, 0);</pre></div> <hr><h2>Define Documentation</h2><a class="anchor" name="ga0" doxytag="animation.h::ANS_AUTOLOOP"></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 ANS_AUTOLOOP&nbsp;&nbsp;&nbsp;0x0001L          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Loop playing the animation automatically. <p><p>Definition at line <a class="el" href="animation_8h-source.htm#l00217">217</a> of file <a class="el" href="animation_8h-source.htm">animation.h</a>.    </td>  </tr></table><a class="anchor" name="ga2" doxytag="animation.h::ANS_FITTOANI"></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 ANS_FITTOANI&nbsp;&nbsp;&nbsp;0x0004L          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Resize the control to fit the animation. <p><p>Definition at line <a class="el" href="animation_8h-source.htm#l00229">229</a> of file <a class="el" href="animation_8h-source.htm">animation.h</a>.    </td>  </tr></table><a class="anchor" name="ga1" doxytag="animation.h::ANS_SCALED"></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 ANS_SCALED&nbsp;&nbsp;&nbsp;0x0002L          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Scale the animation to the control size. <p><p>Definition at line <a class="el" href="animation_8h-source.htm#l00223">223</a> of file <a class="el" href="animation_8h-source.htm">animation.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 + -