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

📄 group__creation__msgs.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: Window creation messages</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>Window creation messages<br><small>[<a class="el" href="group__msgs.htm">Messages</a>]</small></h1><h2>Defines</h2><ul><li>#define <a class="el" href="group__creation__msgs.htm#ga1">MSG_CREATE</a>&nbsp;&nbsp;&nbsp;0x0060<dl class="el"><dd class="mdescRight">Indicates the window has been created, and gives you a chance to initialize your private objects.  <a href="#ga1"></a><br></dl><li>#define <a class="el" href="group__creation__msgs.htm#ga2">MSG_NCCREATE</a>&nbsp;&nbsp;&nbsp;0x0061<dl class="el"><dd class="mdescRight">Indicates the window has been created, but has not registered to the system.  <a href="#ga2"></a><br></dl><li>#define <a class="el" href="group__creation__msgs.htm#ga5">MSG_DESTROY</a>&nbsp;&nbsp;&nbsp;0x0064<dl class="el"><dd class="mdescRight">Indicates the window will be destroyed.  <a href="#ga5"></a><br></dl><li>#define <a class="el" href="group__creation__msgs.htm#ga7">MSG_CLOSE</a>&nbsp;&nbsp;&nbsp;0x0066<dl class="el"><dd class="mdescRight">Indicates the user has clicked the closing box on the caption.  <a href="#ga7"></a><br></dl><li>#define <a class="el" href="group__creation__msgs.htm#ga9">MSG_MAXIMIZE</a>&nbsp;&nbsp;&nbsp;0x0068<dl class="el"><dd class="mdescRight">Indicates the user has clicked the maximizing box on the caption.  <a href="#ga9"></a><br></dl><li>#define <a class="el" href="group__creation__msgs.htm#ga10">MSG_MINIMIZE</a>&nbsp;&nbsp;&nbsp;0x0069<dl class="el"><dd class="mdescRight">Indicates the user has clicked the minimizing box on the caption.  <a href="#ga10"></a><br></dl></ul><hr><h2>Define Documentation</h2><a class="anchor" name="ga7" doxytag="window.h::MSG_CLOSE"></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 MSG_CLOSE&nbsp;&nbsp;&nbsp;0x0066          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Indicates the user has clicked the closing box on the caption. <p>This message is sent to the window when the user has clicked the closing box on the caption of the window. <p>Definition at line <a class="el" href="window_8h-source.htm#l01069">1069</a> of file <a class="el" href="window_8h-source.htm">window.h</a>.    </td>  </tr></table><a class="anchor" name="ga1" doxytag="window.h::MSG_CREATE"></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 MSG_CREATE&nbsp;&nbsp;&nbsp;0x0060          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Indicates the window has been created, and gives you a chance to initialize your private objects. <p>This messages is sent to the window after the window has been created and registered to the system. You can initialize your own objects when you receive this message, and return zero to the system in order to indicates the success of your initialization. If you return non-zero to the system after handled this message, the created window will be destroyed immediately.<p><div class="fragment"><pre class="fragment"> <a class="code" href="group__creation__msgs.htm#ga1">MSG_CREATE</a> <span class="keywordflow">for</span> main windows: <a class="code" href="struct__MAINWINCREATE.htm">PMAINWINCREATE</a> create_info = (<a class="code" href="struct__MAINWINCREATE.htm">PMAINWINCREATE</a>)lParam; <a class="code" href="group__creation__msgs.htm#ga1">MSG_CREATE</a> <span class="keywordflow">for</span> controls: <a class="code" href="group__handles.htm#ga1">HWND</a> parent = (<a class="code" href="group__handles.htm#ga1">HWND</a>)wParam; <a class="code" href="group__win32__types.htm#ga4">DWORD</a> add_data = (<a class="code" href="group__win32__types.htm#ga4">DWORD</a>)lParam;</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>create_info</em>&nbsp;</td><td>The pointer to the MAINWINCREATE structure which is passed to CreateMainWindow function. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>parent</em>&nbsp;</td><td>The handle to the parent window of the control. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>add_data</em>&nbsp;</td><td>The first additional data passed to CreateWindowEx function.</td></tr>  </table></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="group__window__create__fns.htm#ga9">CreateMainWindow</a>, <a class="el" href="group__control__fns.htm#ga1">CreateWindowEx</a>, <a class="el" href="group__window__create__fns.htm#ga2">MAINWINCREATE</a> </dd></dl><p>Definition at line <a class="el" href="window_8h-source.htm#l01008">1008</a> of file <a class="el" href="window_8h-source.htm">window.h</a>.    </td>  </tr></table><a class="anchor" name="ga5" doxytag="window.h::MSG_DESTROY"></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 MSG_DESTROY&nbsp;&nbsp;&nbsp;0x0064          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Indicates the window will be destroyed. <p>This message is sent to the window when <em>DestroyMainWindow</em> or <em>DestroyWindow</em> is calling. You can destroy your private objects when receiving this message.<p>If you return non-zero to the system after handle this message, the process of <em>DestroyMainWindow</em> and <em>DestroyWindow</em> will return immediately.<p><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="group__window__create__fns.htm#ga10">DestroyMainWindow</a>, <a class="el" href="group__control__fns.htm#ga2">DestroyWindow</a> </dd></dl><p>Definition at line <a class="el" href="window_8h-source.htm#l01057">1057</a> of file <a class="el" href="window_8h-source.htm">window.h</a>.    </td>  </tr></table><a class="anchor" name="ga9" doxytag="window.h::MSG_MAXIMIZE"></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 MSG_MAXIMIZE&nbsp;&nbsp;&nbsp;0x0068          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Indicates the user has clicked the maximizing box on the caption. <p>This message is sent to the window when the user has clicked the maximizing box on the caption of the window. <p>Definition at line <a class="el" href="window_8h-source.htm#l01081">1081</a> of file <a class="el" href="window_8h-source.htm">window.h</a>.    </td>  </tr></table><a class="anchor" name="ga10" doxytag="window.h::MSG_MINIMIZE"></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 MSG_MINIMIZE&nbsp;&nbsp;&nbsp;0x0069          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Indicates the user has clicked the minimizing box on the caption. <p>This message is sent to the window when the user has clicked the minimizing box on the caption of the window. <p>Definition at line <a class="el" href="window_8h-source.htm#l01090">1090</a> of file <a class="el" href="window_8h-source.htm">window.h</a>.    </td>  </tr></table><a class="anchor" name="ga2" doxytag="window.h::MSG_NCCREATE"></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 MSG_NCCREATE&nbsp;&nbsp;&nbsp;0x0061          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Indicates the window has been created, but has not registered to the system. <p>This message is sent to the window after the window has been created, but not registered the system. Like MSG_CREATE message, you can initialize your own objects when you receive this message, but can not create child windows of the window, and can not get a device context to paint.<p>If you return non-zero to the system after handled this message, the created window will be destroyed immediately.<p><div class="fragment"><pre class="fragment"> <a class="code" href="group__creation__msgs.htm#ga2">MSG_NCCREATE</a> <span class="keywordflow">for</span> main windows: <a class="code" href="struct__MAINWINCREATE.htm">PMAINWINCREATE</a> create_info = (<a class="code" href="struct__MAINWINCREATE.htm">PMAINWINCREATE</a>)lParam; <a class="code" href="group__creation__msgs.htm#ga2">MSG_NCCREATE</a> <span class="keywordflow">for</span> controls: <a class="code" href="group__win32__types.htm#ga4">DWORD</a> add_data = (<a class="code" href="group__win32__types.htm#ga4">DWORD</a>)lParam;</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>create_info</em>&nbsp;</td><td>The pointer to the MAINWINCREATE structure which is passed to CreateMainWindow function. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>add_data</em>&nbsp;</td><td>The first additional data passed to CreateWindowEx function.</td></tr>  </table></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="group__window__create__fns.htm#ga9">CreateMainWindow</a>, <a class="el" href="group__control__fns.htm#ga1">CreateWindowEx</a>, <a class="el" href="group__window__create__fns.htm#ga2">MAINWINCREATE</a> </dd></dl><p>Definition at line <a class="el" href="window_8h-source.htm#l01038">1038</a> of file <a class="el" href="window_8h-source.htm">window.h</a>.    </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 + -