gmaddgroup.htm

来自「创建可改变大小的对话框或框架的程序」· HTM 代码 · 共 130 行

HTM
130
字号
<html>

<head>
<title>GmAddGroup</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/GmAddGroup.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>[&nbsp;<a href="index.htm">Home</a>&nbsp;]</nobr> <nobr>[&nbsp;<a href="introduction.htm">Introduction</a>&nbsp;]</nobr> <nobr>[&nbsp;<a href="overview.htm">Overview</a>&nbsp;]</nobr> <nobr>[&nbsp;<a href="platform.htm">Platform&nbsp;Notes</a>&nbsp;]</nobr> <nobr>[&nbsp;<a href="Reference.htm">Reference</a>&nbsp;]</nobr> <nobr>[&nbsp;<a href="history.htm">History</a>&nbsp;]</nobr><!--webbot bot="Navigation" endspan i-checksum="12433" --></p>
<font FACE="Arial"><b>

<h1>GmAddGroup</b></font><font SIZE="2"></h1>

<p></font><font size="3">Adds a generic parent group to the geometry manager.</font></p>

<table CELLSPACING="0" BORDER="0" CELLPADDING="7" WIDTH="709">
  <tr>
    <td VALIGN="TOP" COLSPAN="4" width="695"><font FACE="Courier New" size="3">HGMGROUP
    GmAddGroup(</font></td>
  </tr>
  <tr>
    <td WIDTH="61" VALIGN="TOP"></td>
    <td WIDTH="82" VALIGN="TOP"><font FACE="Courier New" size="3">HGEOM </font></td>
    <td WIDTH="92" VALIGN="TOP"><font FACE="Courier New" size="3">hGeom,</font></td>
    <td WIDTH="418" VALIGN="TOP"><font size="3">Geometry manager handle</font></td>
  </tr>
  <tr>
    <td WIDTH="61" VALIGN="TOP"></td>
    <td WIDTH="82" VALIGN="TOP"><font FACE="Courier New" size="3">HGMGROUP </font></td>
    <td WIDTH="92" VALIGN="TOP"><font FACE="Courier New" size="3">hParent,</font></td>
    <td WIDTH="418" VALIGN="TOP"><font size="3">Parent group handle</font></td>
  </tr>
  <tr>
    <td WIDTH="61" VALIGN="TOP"></td>
    <td WIDTH="82" VALIGN="TOP"><font FACE="Courier New" size="3">DWORD </font></td>
    <td WIDTH="92" VALIGN="TOP"><font FACE="Courier New" size="3"><b>dwFlags</b>, </font></td>
    <td WIDTH="418" VALIGN="TOP"><font size="3">Flags specifying how to size and arrange this
    group and it&#146;s children</font></td>
  </tr>
  <tr>
    <td WIDTH="61" VALIGN="TOP"></td>
    <td WIDTH="82" VALIGN="TOP"><font FACE="Courier New" size="3">WORD </font></td>
    <td WIDTH="92" VALIGN="TOP"><font FACE="Courier New" size="3">wWeight);</font></td>
    <td WIDTH="418" 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>
</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>
</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>

<h2><b><font FACE="Arial">Returns</font></b></h2>

<p><font size="3">Returns a handle to the group just added or <font face="Courier New">NULL</font>
if the operation failed.</font><b><font FACE="Arial" size="3"></p>

<h2></font><font face="Arial">Notes</font></b></h2>

<ul>
  <li><font size="3">A generic group is useful only if it has children to group together.</li>
  <li>Generic groups inherit the minimum size of their children and have no space around them.</li>
  <li>Generic groups inherit the growth properties of their children. The horizontal and
    vertical alignment flags are used only when the child groups do not grow in the
    appropriate direction.</font></li>
</ul>

<p><!--webbot bot="Navigation" S-Type="parent" S-Orientation="horizontal" S-Rendering="graphics" B-Include-Home="TRUE" B-Include-Up="FALSE" startspan --><nobr>[&nbsp;<a href="index.htm">Home</a>&nbsp;]</nobr> <nobr>[&nbsp;<a href="introduction.htm">Introduction</a>&nbsp;]</nobr> <nobr>[&nbsp;<a href="overview.htm">Overview</a>&nbsp;]</nobr> <nobr>[&nbsp;<a href="platform.htm">Platform&nbsp;Notes</a>&nbsp;]</nobr> <nobr>[&nbsp;<a href="Reference.htm">Reference</a>&nbsp;]</nobr> <nobr>[&nbsp;<a href="history.htm">History</a>&nbsp;]</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 + -
显示快捷键?