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.
Called by the framework when it must retrieve a brush to fill the background color of a property.
virtual HBRUSH OnCtlColor(
CDC* pDC,
UINT nCtlColor
);
Parameters
[in] pDC
Pointer to a device context.[in] nCtlColor
(This parameter is not used.)
Return Value
The handle to a brush if this method is successful; otherwise, NULL.
Requirements
Header: afxpropertygridctrl.h