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.
Flags used by the DwmSetWindowAttribute function to specify the non-client area rendering policy.
Syntax
typedef enum DWMNCRENDERINGPOLICY {
DWMNCRP_USEWINDOWSTYLE,
DWMNCRP_DISABLED,
DWMNCRP_ENABLED,
DWMNCRP_LAST
} ;
Constants
DWMNCRP_USEWINDOWSTYLEThe non-client rendering area is rendered based on the window style. |
DWMNCRP_DISABLEDThe non-client area rendering is disabled; the window style is ignored. |
DWMNCRP_ENABLEDThe non-client area rendering is enabled; the window style is ignored. |
DWMNCRP_LASTThe maximum recognized DWMNCRENDERINGPOLICY value, used for validation purposes. |
Remarks
To use a DWMNCRENDERINGPOLICY value, set the dwAttribute parameter of the DwmSetWindowAttribute function to DWMWA_NCRENDERING_POLICY. Set the pvAttribute parameter to the DWMNCRENDERINGPOLICY value.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2008 [desktop apps only] |
| Header | dwmapi.h |