gmaddchilddialog.htm
来自「创建可改变大小的对话框或框架的程序」· HTM 代码 · 共 134 行
HTM
134 行
<html>
<head>
<title>GmAddChildDialog</title>
<meta name="GENERATOR" content="Microsoft FrontPage 3.0">
<meta name="Microsoft Border" content="tb, default"></head>
<body><!--msnavigation--><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td>
<p align="center"><MAP NAME="FrontPageMap"><AREA SHAPE="RECT" COORDS="6, 5, 179, 53" HREF="http://www.stonehorse.com"></MAP><a href="_vti_bin/shtml.exe/GmAddChildDialog.htm/map"><img align="left" ismap usemap="#FrontPageMap" border="0" alt="www.stonehorse.com" src="images/Small_logo.gif"></a><strong><font size="6">GeometryManager</font><br>
<font size="3">Version 1.01</font></strong></p>
</td></tr><!--msnavigation--></table><!--msnavigation--><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><!--msnavigation--><td valign="top">
<p><!--webbot bot="Navigation" S-Type="parent" S-Orientation="horizontal" S-Rendering="graphics" B-Include-Home="TRUE" B-Include-Up="FALSE" startspan --><nobr>[ <a href="index.htm">Home</a> ]</nobr> <nobr>[ <a href="introduction.htm">Introduction</a> ]</nobr> <nobr>[ <a href="overview.htm">Overview</a> ]</nobr> <nobr>[ <a href="platform.htm">Platform Notes</a> ]</nobr> <nobr>[ <a href="Reference.htm">Reference</a> ]</nobr> <nobr>[ <a href="history.htm">History</a> ]</nobr><!--webbot bot="Navigation" endspan i-checksum="12433" --></p>
<font FACE="Arial"><b>
<h1>GmAddChildDialog</b></font><font SIZE="2"></h1>
<p></font><font size="3">Adds a child dialog group to the geometry manager.</font></p>
<table CELLSPACING="0" BORDER="0" CELLPADDING="7" WIDTH="732">
<tr>
<td VALIGN="TOP" COLSPAN="4" width="718"><font FACE="Courier New" size="3">HGMGROUP
GmAddChildDialog(</font></td>
</tr>
<tr>
<td WIDTH="62" VALIGN="TOP"></td>
<td WIDTH="82" VALIGN="TOP"><font FACE="Courier New" size="3">HGEOM </font></td>
<td WIDTH="104" VALIGN="TOP"><font FACE="Courier New" size="3">hGeom,</font></td>
<td WIDTH="428" VALIGN="TOP"><font size="3">Geometry manager handle</font></td>
</tr>
<tr>
<td WIDTH="62" VALIGN="TOP"></td>
<td WIDTH="82" VALIGN="TOP"><font FACE="Courier New" size="3">HGMGROUP </font></td>
<td WIDTH="104" VALIGN="TOP"><font FACE="Courier New" size="3">hParent,</font></td>
<td WIDTH="428" VALIGN="TOP"><font size="3">Parent group handle</font></td>
</tr>
<tr>
<td WIDTH="62" VALIGN="TOP"></td>
<td WIDTH="82" VALIGN="TOP"><font FACE="Courier New" size="3">HWND </font></td>
<td WIDTH="104" VALIGN="TOP"><font FACE="Courier New" size="3">hWnd,</font></td>
<td WIDTH="428" VALIGN="TOP"><font size="3">Window handle of a child dialog box</font></td>
</tr>
<tr>
<td WIDTH="62" VALIGN="TOP"></td>
<td WIDTH="82" VALIGN="TOP"><font FACE="Courier New" size="3">DWORD </font></td>
<td WIDTH="104" VALIGN="TOP"><font FACE="Courier New" size="3"><strong>dwFlags</strong>,</font></td>
<td WIDTH="428" VALIGN="TOP"><font size="3">Flags specifying how to size and arrange this
group and it’s children</font></td>
</tr>
<tr>
<td WIDTH="62" VALIGN="TOP"></td>
<td WIDTH="82" VALIGN="TOP"><font FACE="Courier New" size="3">WORD </font></td>
<td WIDTH="104" VALIGN="TOP"><font FACE="Courier New" size="3">wWeight);</font></td>
<td WIDTH="428" VALIGN="TOP"><font size="3">Relative weight of this group</font></td>
</tr>
</table>
<font FACE="Courier New" size="3"><b>
<p>dwFlags</b></font></p>
<p><font size="3"><em>Horizontal Alignment (pick one)</em></font></p>
<table BORDER="1" CELLSPACING="1" CELLPADDING="7" WIDTH="615">
<tr>
<td WIDTH="136" VALIGN="TOP"><strong><font FACE="Courier New" size="3">GM_LEFT</font></strong></td>
<td WIDTH="443" VALIGN="TOP"><font size="3">Align this group to the left</font></td>
</tr>
<tr>
<td WIDTH="136" VALIGN="TOP"><font FACE="Courier New" size="3">GM_HCENTER</font></td>
<td WIDTH="443" VALIGN="TOP"><font size="3">Center this group horizontally</font></td>
</tr>
<tr>
<td WIDTH="136" VALIGN="TOP"><font FACE="Courier New" size="3">GM_RIGHT</font></td>
<td WIDTH="443" VALIGN="TOP"><font size="3">Align this group to the right</font></td>
</tr>
<tr>
<td WIDTH="26%" VALIGN="TOP"><font size="3" face="Courier New">GM_GROW_X</font></td>
<td WIDTH="74%" VALIGN="TOP">Resize this group to fill the horizontal space</td>
</tr>
</table>
<p><font size="3"><em>Vertical Alignment (pick one)</em></font></p>
<table BORDER="1" CELLSPACING="1" CELLPADDING="7" WIDTH="615">
<tr>
<td WIDTH="136" VALIGN="TOP"><strong><font FACE="Courier New" size="3">GM_TOP</font></strong></td>
<td WIDTH="443" VALIGN="TOP"><font size="3">Align this group to the top</font></td>
</tr>
<tr>
<td WIDTH="136" VALIGN="TOP"><font FACE="Courier New" size="3">GM_VCENTER</font></td>
<td WIDTH="443" VALIGN="TOP"><font size="3">Center this group vertically</font></td>
</tr>
<tr>
<td WIDTH="136" VALIGN="TOP"><font FACE="Courier New" size="3">GM_BOTTOM</font></td>
<td WIDTH="443" VALIGN="TOP"><font size="3">Align this group to the bottom</font></td>
</tr>
<tr>
<td WIDTH="26%" VALIGN="TOP"><font size="3" face="Courier New">GM_GROW_Y</font></td>
<td WIDTH="74%" VALIGN="TOP"><font size="3">Resize this group to fill the vertical space</font></td>
</tr>
</table>
<p><font size="3"><em>Arrangment of Children (pick one)</em></font></p>
<table BORDER="1" CELLSPACING="1" CELLPADDING="7" WIDTH="615">
<tr>
<td WIDTH="136" VALIGN="TOP"><strong><font FACE="Courier New" size="3">GM_HORIZONTAL</font></strong></td>
<td WIDTH="443" VALIGN="TOP"><font size="3">Children are arranged horizontally as they are
added, from left to right</font></td>
</tr>
<tr>
<td WIDTH="136" VALIGN="TOP"><font FACE="Courier New" size="3">GM_VERTICAL</font></td>
<td WIDTH="443" VALIGN="TOP"><font size="3">Children are arranged vertically as they are
added, from top to bottom</font></td>
</tr>
<tr>
<td WIDTH="136" VALIGN="TOP"><font FACE="Courier New" size="3">GM_OVERLAPPED</font></td>
<td WIDTH="443" VALIGN="TOP"><font size="3">Children are overlapped</font></td>
</tr>
</table>
<b><font FACE="Arial" size="3">
<h2></font><font face="Arial">Returns</font></b></h2>
<p><font size="3">Returns a handle to the group just added.</font></p>
<p><!--webbot bot="Navigation" S-Type="parent" S-Orientation="horizontal" S-Rendering="graphics" B-Include-Home="TRUE" B-Include-Up="FALSE" startspan --><nobr>[ <a href="index.htm">Home</a> ]</nobr> <nobr>[ <a href="introduction.htm">Introduction</a> ]</nobr> <nobr>[ <a href="overview.htm">Overview</a> ]</nobr> <nobr>[ <a href="platform.htm">Platform Notes</a> ]</nobr> <nobr>[ <a href="Reference.htm">Reference</a> ]</nobr> <nobr>[ <a href="history.htm">History</a> ]</nobr><!--webbot bot="Navigation" endspan i-checksum="12433" -->
<!--msnavigation--></td></tr><!--msnavigation--></table><!--msnavigation--><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td>
<p><br>
<small>Please send any technical questions to <a href="mailto:techsupport@stonehorse.com">techsupport@stonehorse.com</a><br>
Copyright
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?