Article ID: 198019 - Last Review: June 4, 2005 - Revision: 3.0 The size of the ATL control does not display correctly in a control containerThis article was previously published under Q198019 On This PageSYMPTOMS One of the following occurs:
CAUSE By default, ATL control projects have two entries in the
Property Map that allow the control's display size to be persisted. These
entries are:
RESOLUTION Modify AtlIPersistPropertyBag_Load() in ATLCOM.H so that it
initializes the "vt" member of the VARIANT before calling IPropertyBag::Read():
STATUSMicrosoft
has confirmed that this is a problem in the Microsoft products that are listed
at the beginning of this article.
This
bug was corrected in Visual Studio 6.0 Service Pack 3.
For more information about Visual Studio service packs,
please see the following articles in the Microsoft Knowledge
Base: 194022 (http://support.microsoft.com/kb/194022/EN-US/ ) INFO: Visual Studio 6.0 Service Packs, What, Where, Why 194295 (http://support.microsoft.com/kb/194295/EN-US/ ) HOWTO: Tell That Visual Studio 6.0 Service Packs Are Installed MORE INFORMATIONSteps to Reproduce Behavior
APPLIES TO
| Article Translations
|
Back to the top
