CWnd::OnColorizationColorChanged
The framework calls this member when the rendering policy for the nonclient area has changed.
afx_msg void OnColorizationColorChanged(
DWORD dwColorizationColor,
BOOL bOpacity
);
Parameters
Parameter |
Description |
---|---|
[in] dwColorizationColor |
Specifies the new colorization color. The color format is a hexadecimal number of the form 0xAARRGGBB, where each of the four components ranges from 0x00 through 0xFF. The AA component is the alpha value, RR is the color red, GG is green, and BB is blue. |
[in] bOpacity |
true if the new color is blended with opacity; false if it is not. |
Remarks
This method receives the WM_DWMNCRENDERINGCHANGED notification message, which is described in the Windows SDK.
Notes
This member function is called by the framework to allow your application to handle a Windows message. The parameters passed to your function reflect the parameters received by the framework when the message was received. If you call the base-class implementation of this function, that implementation will use the parameters originally passed with the message and not the parameters you supply to the function.
Requirements
Header: afxwin.h
This method is supported in Windows Vista and later.
Additional requirements for this method are described in Build Requirements for Windows Vista Common Controls.