PRB: Appearance Property Uses Windows 4.0 WS_EX_CLIENTEDGE (152000)
The information in this article applies to:
- The Microsoft Foundation Classes (MFC), when used with:
- Microsoft Visual C++, 32-bit Editions 4.0
- Microsoft Visual C++, 32-bit Editions 4.1
This article was previously published under Q152000 SYMPTOMS
MFC Controls support a set of standard properties. One of these properties
is Appearance (DISPID_APPEARANCE). Appearance is implemented to give a
control a 3-D look. If the control is used on a version of Windows or
Windows NT less than 4.0, the Appearance property will not affect the
appearance of the control at run time.
CAUSE
At run time, the Appearance property is implemented in an MFC control by
setting an extended window style WS_EX_CLIENTEDGE. This window style is not
supported on versions of Windows or Windows NT less than 4.0.
RESOLUTION
It is possible to supply your own implementation of the Appearance property
although this technique will not work for subclassed Windows controls.
STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 10/24/2003 |
---|
Keywords: | kbCtrlCreate kbprb KbUIDesign KB152000 |
---|
|