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

📄 struct__mainwincreate.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: _MAINWINCREATE Struct Reference</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>_MAINWINCREATE Struct Reference<br><small>[<a class="el" href="group__window__create__fns.htm">Window creating/destroying</a>]</small></h1><code>#include &lt;<a class="el" href="window_8h-source.htm">window.h</a>&gt;</code><p><h2>Data Fields</h2><ul><li><a class="el" href="group__win32__types.htm#ga4">DWORD</a> <a class="el" href="struct__MAINWINCREATE.htm#o0">dwStyle</a><li><a class="el" href="group__win32__types.htm#ga4">DWORD</a> <a class="el" href="struct__MAINWINCREATE.htm#o1">dwExStyle</a><li>const char * <a class="el" href="struct__MAINWINCREATE.htm#o2">spCaption</a><li><a class="el" href="group__handles.htm#ga6">HMENU</a> <a class="el" href="struct__MAINWINCREATE.htm#o3">hMenu</a><li><a class="el" href="group__handles.htm#ga4">HCURSOR</a> <a class="el" href="struct__MAINWINCREATE.htm#o4">hCursor</a><li><a class="el" href="group__handles.htm#ga5">HICON</a> <a class="el" href="struct__MAINWINCREATE.htm#o5">hIcon</a><li><a class="el" href="group__handles.htm#ga1">HWND</a> <a class="el" href="struct__MAINWINCREATE.htm#o6">hHosting</a><li>int(* <a class="el" href="struct__MAINWINCREATE.htm#o7">MainWindowProc</a> )(<a class="el" href="group__handles.htm#ga1">HWND</a>, int, <a class="el" href="group__win32__types.htm#ga8">WPARAM</a>, <a class="el" href="group__win32__types.htm#ga9">LPARAM</a>)<li>int <a class="el" href="struct__MAINWINCREATE.htm#o8">lx</a><li>int <a class="el" href="struct__MAINWINCREATE.htm#o9">ty</a><li>int <a class="el" href="struct__MAINWINCREATE.htm#o10">rx</a><li>int <a class="el" href="struct__MAINWINCREATE.htm#o11">by</a><li>int <a class="el" href="struct__MAINWINCREATE.htm#o12">iBkColor</a><li><a class="el" href="group__win32__types.htm#ga4">DWORD</a> <a class="el" href="struct__MAINWINCREATE.htm#o13">dwAddData</a><li><a class="el" href="group__win32__types.htm#ga4">DWORD</a> <a class="el" href="struct__MAINWINCREATE.htm#o14">dwReserved</a></ul><hr><a name="_details"></a><h2>Detailed Description</h2>Structure defines a main window. <p><p>Definition at line <a class="el" href="window_8h-source.htm#l02889">2889</a> of file <a class="el" href="window_8h-source.htm">window.h</a>.<hr><h2>Field Documentation</h2><a class="anchor" name="o11" doxytag="_MAINWINCREATE::by"></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="struct__MAINWINCREATE.htm#o11">by</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>The position of the main window in the screen coordinates <p>Definition at line <a class="el" href="window_8h-source.htm#l02916">2916</a> of file <a class="el" href="window_8h-source.htm">window.h</a>.    </td>  </tr></table><a class="anchor" name="o13" doxytag="_MAINWINCREATE::dwAddData"></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__win32__types.htm#ga4">DWORD</a> <a class="el" href="struct__MAINWINCREATE.htm#o13">dwAddData</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>The first private data associated with the main window <p>Definition at line <a class="el" href="window_8h-source.htm#l02922">2922</a> of file <a class="el" href="window_8h-source.htm">window.h</a>.    </td>  </tr></table><a class="anchor" name="o1" doxytag="_MAINWINCREATE::dwExStyle"></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__win32__types.htm#ga4">DWORD</a> <a class="el" href="struct__MAINWINCREATE.htm#o1">dwExStyle</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>The extended style of the main window <p>Definition at line <a class="el" href="window_8h-source.htm#l02895">2895</a> of file <a class="el" href="window_8h-source.htm">window.h</a>.    </td>  </tr></table><a class="anchor" name="o14" doxytag="_MAINWINCREATE::dwReserved"></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__win32__types.htm#ga4">DWORD</a> <a class="el" href="struct__MAINWINCREATE.htm#o14">dwReserved</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Reserved, do not use <p>Definition at line <a class="el" href="window_8h-source.htm#l02925">2925</a> of file <a class="el" href="window_8h-source.htm">window.h</a>.    </td>  </tr></table><a class="anchor" name="o0" doxytag="_MAINWINCREATE::dwStyle"></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__win32__types.htm#ga4">DWORD</a> <a class="el" href="struct__MAINWINCREATE.htm#o0">dwStyle</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>The style of the main window <p>Definition at line <a class="el" href="window_8h-source.htm#l02892">2892</a> of file <a class="el" href="window_8h-source.htm">window.h</a>.    </td>  </tr></table><a class="anchor" name="o4" doxytag="_MAINWINCREATE::hCursor"></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#ga4">HCURSOR</a> <a class="el" href="struct__MAINWINCREATE.htm#o4">hCursor</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>The handle to the cursor of the main window <p>Definition at line <a class="el" href="window_8h-source.htm#l02904">2904</a> of file <a class="el" href="window_8h-source.htm">window.h</a>.    </td>  </tr></table><a class="anchor" name="o6" doxytag="_MAINWINCREATE::hHosting"></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> <a class="el" href="struct__MAINWINCREATE.htm#o6">hHosting</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>The hosting main window <p>Definition at line <a class="el" href="window_8h-source.htm#l02910">2910</a> of file <a class="el" href="window_8h-source.htm">window.h</a>.    </td>  </tr></table><a class="anchor" name="o5" doxytag="_MAINWINCREATE::hIcon"></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#ga5">HICON</a> <a class="el" href="struct__MAINWINCREATE.htm#o5">hIcon</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>The handle to the icon of the main window <p>Definition at line <a class="el" href="window_8h-source.htm#l02907">2907</a> of file <a class="el" href="window_8h-source.htm">window.h</a>.    </td>  </tr></table><a class="anchor" name="o3" doxytag="_MAINWINCREATE::hMenu"></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#ga6">HMENU</a> <a class="el" href="struct__MAINWINCREATE.htm#o3">hMenu</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>The handle to the menu of the main window <p>Definition at line <a class="el" href="window_8h-source.htm#l02901">2901</a> of file <a class="el" href="window_8h-source.htm">window.h</a>.    </td>  </tr></table><a class="anchor" name="o12" doxytag="_MAINWINCREATE::iBkColor"></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="struct__MAINWINCREATE.htm#o12">iBkColor</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>The pixel value of background color of the main window <p>Definition at line <a class="el" href="window_8h-source.htm#l02919">2919</a> of file <a class="el" href="window_8h-source.htm">window.h</a>.    </td>  </tr></table><a class="anchor" name="o8" doxytag="_MAINWINCREATE::lx"></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="struct__MAINWINCREATE.htm#o8">lx</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>The position of the main window in the screen coordinates <p>Definition at line <a class="el" href="window_8h-source.htm#l02916">2916</a> of file <a class="el" href="window_8h-source.htm">window.h</a>.    </td>  </tr></table><a class="anchor" name="o7" doxytag="_MAINWINCREATE::MainWindowProc"></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="struct__MAINWINCREATE.htm#o7">MainWindowProc</a>)(<a class="el" href="group__handles.htm#ga1">HWND</a>, int, <a class="el" href="group__win32__types.htm#ga8">WPARAM</a>, <a class="el" href="group__win32__types.htm#ga9">LPARAM</a>)          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>The window callback procedure     </td>  </tr></table><a class="anchor" name="o10" doxytag="_MAINWINCREATE::rx"></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="struct__MAINWINCREATE.htm#o10">rx</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>The position of the main window in the screen coordinates <p>Definition at line <a class="el" href="window_8h-source.htm#l02916">2916</a> of file <a class="el" href="window_8h-source.htm">window.h</a>.    </td>  </tr></table><a class="anchor" name="o2" doxytag="_MAINWINCREATE::spCaption"></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">const char* <a class="el" href="struct__MAINWINCREATE.htm#o2">spCaption</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>The caption of the main window <p>Definition at line <a class="el" href="window_8h-source.htm#l02898">2898</a> of file <a class="el" href="window_8h-source.htm">window.h</a>.    </td>  </tr></table><a class="anchor" name="o9" doxytag="_MAINWINCREATE::ty"></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="struct__MAINWINCREATE.htm#o9">ty</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>The position of the main window in the screen coordinates <p>Definition at line <a class="el" href="window_8h-source.htm#l02916">2916</a> of file <a class="el" href="window_8h-source.htm">window.h</a>.    </td>  </tr></table><hr>The documentation for this struct was generated from the following file:<ul><li><a class="el" href="window_8h-source.htm">window.h</a></ul><hr size="1"><address style="align: right;"><small>Generated on Thu Nov 22 15:35:52 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 + -