Click here to Skip to main content
15,885,366 members
Articles / Desktop Programming / WTL

AutoSizeDlg - an autoresizing class for ATL/WTL

Rate me:
Please Sign up or sign in to vote.
3.88/5 (5 votes)
16 Jul 2006MIT12 min read 46.5K   1.9K   31  
AutoSizeDlg - an autoresizing class for ATL/WTL
<!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>autosizedlg: ATL::CAutoSizeWindow&lt; T, t_bAutoMinSize &gt;::CMargins Struct Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.7 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="namespaces.html"><span>Namespaces</span></a></li>
    <li id="current"><a href="annotated.html"><span>Classes</span></a></li>
    <li><a href="files.html"><span>Files</span></a></li>
  </ul></div>
<div class="tabs">
  <ul>
    <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
    <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
  </ul></div>
<div class="nav">
<a class="el" href="namespace_a_t_l.html">ATL</a>::<a class="el" href="class_a_t_l_1_1_c_auto_size_window.html">CAutoSizeWindow</a>::<a class="el" href="struct_a_t_l_1_1_c_auto_size_window_1_1_c_margins.html">CMargins</a></div>
<h1>ATL::CAutoSizeWindow&lt; T, t_bAutoMinSize &gt;::CMargins Struct Reference</h1><!-- doxytag: class="ATL::CAutoSizeWindow::CMargins" -->The margins/gaps of the window.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="atlautosizedlg_8h-source.html">atlautosizedlg.h</a>&gt;</code>
<p>
<a href="struct_a_t_l_1_1_c_auto_size_window_1_1_c_margins-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_a_t_l_1_1_c_auto_size_window_1_1_c_margins.html#95f5c7e6990aec94f4e20e2d98bc7e41">m_iLeftRight</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_a_t_l_1_1_c_auto_size_window_1_1_c_margins.html#e705e89a2bd935a5563050cd56c6c199">m_iTopBottom</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_a_t_l_1_1_c_auto_size_window_1_1_c_margins.html#5c1b6d8ee5c6aa08b09ac5417ed17c92">m_iXGap</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_a_t_l_1_1_c_auto_size_window_1_1_c_margins.html#d87098bcb529214d13e0a46cf2e5da17">m_iYGap</a></td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<h3>template&lt;class T, bool t_bAutoMinSize = true&gt;<br>
 struct ATL::CAutoSizeWindow&lt; T, t_bAutoMinSize &gt;::CMargins</h3>

The margins/gaps of the window. 
<p>

<p>
Definition at line <a class="el" href="atlautosizedlg_8h-source.html#l00483">483</a> of file <a class="el" href="atlautosizedlg_8h-source.html">atlautosizedlg.h</a>.<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="95f5c7e6990aec94f4e20e2d98bc7e41"></a><!-- doxytag: member="ATL::CAutoSizeWindow::CMargins::m_iLeftRight" ref="95f5c7e6990aec94f4e20e2d98bc7e41" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T, bool t_bAutoMinSize = true&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="class_a_t_l_1_1_c_auto_size_window.html">ATL::CAutoSizeWindow</a>&lt; T, t_bAutoMinSize &gt;::<a class="el" href="struct_a_t_l_1_1_c_auto_size_window_1_1_c_margins.html#95f5c7e6990aec94f4e20e2d98bc7e41">CMargins::m_iLeftRight</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="atlautosizedlg_8h-source.html#l00485">485</a> of file <a class="el" href="atlautosizedlg_8h-source.html">atlautosizedlg.h</a>.
</div>
</div><p>
<a class="anchor" name="e705e89a2bd935a5563050cd56c6c199"></a><!-- doxytag: member="ATL::CAutoSizeWindow::CMargins::m_iTopBottom" ref="e705e89a2bd935a5563050cd56c6c199" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T, bool t_bAutoMinSize = true&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="class_a_t_l_1_1_c_auto_size_window.html">ATL::CAutoSizeWindow</a>&lt; T, t_bAutoMinSize &gt;::<a class="el" href="struct_a_t_l_1_1_c_auto_size_window_1_1_c_margins.html#e705e89a2bd935a5563050cd56c6c199">CMargins::m_iTopBottom</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="atlautosizedlg_8h-source.html#l00486">486</a> of file <a class="el" href="atlautosizedlg_8h-source.html">atlautosizedlg.h</a>.
</div>
</div><p>
<a class="anchor" name="5c1b6d8ee5c6aa08b09ac5417ed17c92"></a><!-- doxytag: member="ATL::CAutoSizeWindow::CMargins::m_iXGap" ref="5c1b6d8ee5c6aa08b09ac5417ed17c92" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T, bool t_bAutoMinSize = true&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="class_a_t_l_1_1_c_auto_size_window.html">ATL::CAutoSizeWindow</a>&lt; T, t_bAutoMinSize &gt;::<a class="el" href="struct_a_t_l_1_1_c_auto_size_window_1_1_c_margins.html#5c1b6d8ee5c6aa08b09ac5417ed17c92">CMargins::m_iXGap</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="atlautosizedlg_8h-source.html#l00487">487</a> of file <a class="el" href="atlautosizedlg_8h-source.html">atlautosizedlg.h</a>.
</div>
</div><p>
<a class="anchor" name="d87098bcb529214d13e0a46cf2e5da17"></a><!-- doxytag: member="ATL::CAutoSizeWindow::CMargins::m_iYGap" ref="d87098bcb529214d13e0a46cf2e5da17" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T, bool t_bAutoMinSize = true&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="class_a_t_l_1_1_c_auto_size_window.html">ATL::CAutoSizeWindow</a>&lt; T, t_bAutoMinSize &gt;::<a class="el" href="struct_a_t_l_1_1_c_auto_size_window_1_1_c_margins.html#d87098bcb529214d13e0a46cf2e5da17">CMargins::m_iYGap</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="atlautosizedlg_8h-source.html#l00488">488</a> of file <a class="el" href="atlautosizedlg_8h-source.html">atlautosizedlg.h</a>.
</div>
</div><p>
<hr>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="atlautosizedlg_8h-source.html">atlautosizedlg.h</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Mon Jul 17 13:30:30 2006 for autosizedlg by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>
</body>
</html>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The MIT License


Written By
Software Developer (Senior)
Italy Italy
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions