Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
A version of this page is also available for
4/8/2010
This structure contains the window styles for a window.
Syntax
typedef struct tagSTYLESTRUCT { DWORD styleOld; DWORD styleNew; } STYLESTRUCT, *LPSTYLESTRUCT; |
Members
- styleOld
-
Specifies the previous styles for a window. For more information, see the Remarks section.
- styleNew
-
Specifies the new styles for a window. For more information, see the Remarks section.
Remarks
The styles in styleOldand styleNewcan be either the window styles (WS_*) or the extended window styles (WS_EX_*), depending on the wParamof the message that includes STYLESTRUCT.
The styleOldand styleNewmembers indicate the styles through their bit pattern. Note that several styles are equal to zero; to detect these styles, test for the negation of their inverse style. For example, to see if WS_EX_LEFT is set, you test for ~WS_EX_RIGHT.
Requirements
Header | winuser.h |
Windows Embedded CE | Windows CE 1.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |