The information in this article applies to:
SUMMARYThis article shows how to set the default size of an Active Template Library (ATL) control when it is first inserted into a container. The default width and height of an ATL control is stored in a variable called m_sizeExtent, which is normally initialized to 5080x5080 himetric units in the constructor for CComControlBase from which CComControl is derived. You can set your own preferred default size in your control's constructor, as follows:
(c) Microsoft Corporation 1997, All Rights Reserved.
Contributions by Samsom Tanrena, Microsoft Corporation
Additional query words: kbVC500 kbVC600 kbATL200 kbATL210 kbATL300 kbctrl
Keywords : kbnokeyword kbActiveX kbATL200 kbATL210 kbCOMt kbCtrlCreate kbATL300 kbGrpMFCATL |
Last Reviewed: November 23, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |