How To Define the Display Size of an MFC ActiveX Control (168326)
The information in this article applies to:
- The Microsoft Foundation Classes (MFC), when used with:
- Microsoft Visual C++, 32-bit Enterprise Edition 4.2
- Microsoft Visual C++, 32-bit Enterprise Edition 4.2b
- Microsoft Visual C++, 32-bit Enterprise Edition 5.0
- Microsoft Visual C++, 32-bit Enterprise Edition 6.0
- Microsoft Visual C++, 32-bit Professional Edition 4.2
- Microsoft Visual C++, 32-bit Professional Edition 4.2b
- Microsoft Visual C++, 32-bit Professional Edition 5.0
- Microsoft Visual C++, 32-bit Professional Edition 6.0
- Microsoft Visual C++, 32-bit Learning Edition 6.0
- Microsoft Visual C++ .NET (2002)
- Microsoft Visual C++ .NET (2003)
This article was previously published under Q168326 NOTE: Microsoft Visual C++ .NET (2002) supports both the managed code
model that is provided by the .NET Framework and the unmanaged native Windows
code model. Part or all of the information in this article applies to managed
Visual C++ code and may be applied only by using the .NET Framework.
SUMMARY Sometimes you need to limit an ActiveX control's minimum or
maximum size at design time. This article explains how to do this by overriding
the virtual COleControl::OnSetExtent method. REFERENCES
Modification Type: | Minor | Last Reviewed: | 7/1/2004 |
---|
Keywords: | kbCtrl kbhowto KB168326 kbAudDeveloper |
---|
|