Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This structure contains the window styles for a window.
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 styleOld and styleNew can be either the window styles (WS_*) or the extended window styles (WS_EX_*), depending on the wParam of the message that includes STYLESTRUCT.
The styleOld and styleNew members 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
OS Versions: Windows CE 1.0 and later.
Header: Winuser.h.
See Also
WM_STYLECHANGED | Windows Structures
Send Feedback on this topic to the authors