📄 struct__dlgtemplate.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: _DLGTEMPLATE 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 Page</a> | <a class="qindex" href="modules.htm">Modules</a> | <a class="qindex" href="classes.htm">Alphabetical List</a> | <a class="qindex" href="annotated.htm">Data Structures</a> | <a class="qindex" href="dirs.htm">Directories</a> | <a class="qindex" href="files.htm">File List</a> | <a class="qindex" href="functions.htm">Data Fields</a> | <a class="qindex" href="globals.htm">Globals</a> | <a class="qindex" href="pages.htm">Related Pages</a></div><h1>_DLGTEMPLATE Struct Reference<br><small>[<a class="el" href="group__dialog__fns.htm">Dialog operations</a>]</small></h1><code>#include <<a class="el" href="window_8h-source.htm">window.h</a>></code><p><h2>Data Fields</h2><ul><li><a class="el" href="group__win32__types.htm#ga4">DWORD</a> <a class="el" href="struct__DLGTEMPLATE.htm#o0">dwStyle</a><li><a class="el" href="group__win32__types.htm#ga4">DWORD</a> <a class="el" href="struct__DLGTEMPLATE.htm#o1">dwExStyle</a><li>int <a class="el" href="struct__DLGTEMPLATE.htm#o2">x</a><li>int <a class="el" href="struct__DLGTEMPLATE.htm#o3">y</a><li>int <a class="el" href="struct__DLGTEMPLATE.htm#o4">w</a><li>int <a class="el" href="struct__DLGTEMPLATE.htm#o5">h</a><li>const char * <a class="el" href="struct__DLGTEMPLATE.htm#o6">caption</a><li><a class="el" href="group__handles.htm#ga5">HICON</a> <a class="el" href="struct__DLGTEMPLATE.htm#o7">hIcon</a><li><a class="el" href="group__handles.htm#ga6">HMENU</a> <a class="el" href="struct__DLGTEMPLATE.htm#o8">hMenu</a><li>int <a class="el" href="struct__DLGTEMPLATE.htm#o9">controlnr</a><li><a class="el" href="struct__CTRLDATA.htm">PCTRLDATA</a> <a class="el" href="struct__DLGTEMPLATE.htm#o10">controls</a><li><a class="el" href="group__win32__types.htm#ga4">DWORD</a> <a class="el" href="struct__DLGTEMPLATE.htm#o11">dwAddData</a></ul><hr><a name="_details"></a><h2>Detailed Description</h2>Structure which defines a dialogbox.<p>Example:<p><div class="fragment"><pre class="fragment"><span class="keyword">static</span> <a class="code" href="struct__DLGTEMPLATE.htm">DLGTEMPLATE</a> DlgInitProgress ={ <a class="code" href="group__styles.htm#ga11">WS_BORDER</a> | <a class="code" href="group__styles.htm#ga4">WS_CAPTION</a>, <a class="code" href="group__styles.htm#ga20">WS_EX_NONE</a>, 120, 150, 400, 130, <span class="stringliteral">"VAM-CNC is initializing"</span>, 0, 0, 3, <a class="code" href="group__simple__types.htm#ga3">NULL</a>, 0};<span class="keyword">static</span> <a class="code" href="struct__CTRLDATA.htm">CTRLDATA</a> CtrlInitProgress [] ={ { <span class="stringliteral">"static"</span>, <a class="code" href="group__styles.htm#ga6">WS_VISIBLE</a> | <a class="code" href="group__ctrl__static__styles.htm#ga11">SS_SIMPLE</a>, 10, 10, 380, 16, IDC_PROMPTINFO, <span class="stringliteral">"Initialize..."</span>, 0 }, { <span class="stringliteral">"progressbar"</span>, <a class="code" href="group__styles.htm#ga6">WS_VISIBLE</a>, 10, 40, 380, 20, IDC_PROGRESS, <a class="code" href="group__simple__types.htm#ga3">NULL</a>, 0 }, { <span class="stringliteral">"button"</span>, <a class="code" href="group__styles.htm#ga19">WS_TABSTOP</a> | <a class="code" href="group__styles.htm#ga6">WS_VISIBLE</a> | <a class="code" href="group__ctrl__button__styles.htm#ga1">BS_DEFPUSHBUTTON</a>, 170, 70, 60, 25, IDOK, <span class="stringliteral">"OK"</span>, 0 }};</pre></div> <p><p>Definition at line <a class="el" href="window_8h-source.htm#l06740">6740</a> of file <a class="el" href="window_8h-source.htm">window.h</a>.<hr><h2>Field Documentation</h2><a class="anchor" name="o6" doxytag="_DLGTEMPLATE::caption"></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__DLGTEMPLATE.htm#o6">caption</a> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Dialog box caption <p>Definition at line <a class="el" href="window_8h-source.htm#l06749">6749</a> of file <a class="el" href="window_8h-source.htm">window.h</a>. </td> </tr></table><a class="anchor" name="o9" doxytag="_DLGTEMPLATE::controlnr"></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__DLGTEMPLATE.htm#o9">controlnr</a> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Number of controls <p>Definition at line <a class="el" href="window_8h-source.htm#l06755">6755</a> of file <a class="el" href="window_8h-source.htm">window.h</a>. </td> </tr></table><a class="anchor" name="o10" doxytag="_DLGTEMPLATE::controls"></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="struct__CTRLDATA.htm">PCTRLDATA</a> <a class="el" href="struct__DLGTEMPLATE.htm#o10">controls</a> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Poiter to control array <p>Definition at line <a class="el" href="window_8h-source.htm#l06757">6757</a> of file <a class="el" href="window_8h-source.htm">window.h</a>. </td> </tr></table><a class="anchor" name="o11" doxytag="_DLGTEMPLATE::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__DLGTEMPLATE.htm#o11">dwAddData</a> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Addtional data, must be zero <p>Definition at line <a class="el" href="window_8h-source.htm#l06759">6759</a> of file <a class="el" href="window_8h-source.htm">window.h</a>. </td> </tr></table><a class="anchor" name="o1" doxytag="_DLGTEMPLATE::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__DLGTEMPLATE.htm#o1">dwExStyle</a> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Dialog box extended style <p>Definition at line <a class="el" href="window_8h-source.htm#l06745">6745</a> of file <a class="el" href="window_8h-source.htm">window.h</a>. </td> </tr></table><a class="anchor" name="o0" doxytag="_DLGTEMPLATE::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__DLGTEMPLATE.htm#o0">dwStyle</a> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Dialog box style <p>Definition at line <a class="el" href="window_8h-source.htm#l06743">6743</a> of file <a class="el" href="window_8h-source.htm">window.h</a>. </td> </tr></table><a class="anchor" name="o5" doxytag="_DLGTEMPLATE::h"></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__DLGTEMPLATE.htm#o5">h</a> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Dialog box position <p>Definition at line <a class="el" href="window_8h-source.htm#l06747">6747</a> of file <a class="el" href="window_8h-source.htm">window.h</a>. </td> </tr></table><a class="anchor" name="o7" doxytag="_DLGTEMPLATE::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__DLGTEMPLATE.htm#o7">hIcon</a> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Dialog box icon <p>Definition at line <a class="el" href="window_8h-source.htm#l06751">6751</a> of file <a class="el" href="window_8h-source.htm">window.h</a>. </td> </tr></table><a class="anchor" name="o8" doxytag="_DLGTEMPLATE::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__DLGTEMPLATE.htm#o8">hMenu</a> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Dialog box menu <p>Definition at line <a class="el" href="window_8h-source.htm#l06753">6753</a> of file <a class="el" href="window_8h-source.htm">window.h</a>. </td> </tr></table><a class="anchor" name="o4" doxytag="_DLGTEMPLATE::w"></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__DLGTEMPLATE.htm#o4">w</a> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Dialog box position <p>Definition at line <a class="el" href="window_8h-source.htm#l06747">6747</a> of file <a class="el" href="window_8h-source.htm">window.h</a>. </td> </tr></table><a class="anchor" name="o2" doxytag="_DLGTEMPLATE::x"></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__DLGTEMPLATE.htm#o2">x</a> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Dialog box position <p>Definition at line <a class="el" href="window_8h-source.htm#l06747">6747</a> of file <a class="el" href="window_8h-source.htm">window.h</a>. </td> </tr></table><a class="anchor" name="o3" doxytag="_DLGTEMPLATE::y"></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__DLGTEMPLATE.htm#o3">y</a> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Dialog box position <p>Definition at line <a class="el" href="window_8h-source.htm#l06747">6747</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 <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 + -