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 method draws the background of a button.
static void PaintBackground( HDC hDC, LPRECT lprc, DWORD dwState, DWORD dwFlags);
Parameters
- hDC
[in] Handle to the device context for the window. - lprc
[in] Pointer to a RECT structure that specifies the coordinates of the bounding rectangle for the button. - dwState
[in] Unsigned, 32-bit integer that indicates the state of the button. The following table shows the possible values.Value Description CUIBUTTONSTATE_NORMAL Normal button state. CUIBUTTONSTATE_MOUSEOVER Mouse over button state. CUIBUTTONSTATE_PUSHED Pushed button state. CUIBUTTONSTATE_INACTIVE Inactive button state. CUIBUTTONSTATE_SELECTED Selected button state. This state can be combined with another state. - dwFlags
[in] Set to zero (0). This parameter is reserved for future use.
Return Values
None.
Requirements
OS Versions: Windows CE .NET 4.2 and later.
Header: Imjpskin.h.
See Also
Send Feedback on this topic to the authors