_IMathInputControlEvents::Paint method
Notifies the event handler when the buttons and background of the control require painting.
HRESULT Paint(
[in] LONG_PTR hdc,
[in] LONG Left,
[in] LONG Top,
[in] LONG Right,
[in] LONG Bottom,
[in] LONG Element,
[in] LONG State
);
hdc [in]
The device context to be painted within.Left [in]
The left position of the rectangle to paint.Top [in]
The top position of the rectangle to paint.Right [in]
The right position of the rectangle to paint.Bottom [in]
The bottom position of the rectangle to paint.Element [in]
The ID of the UI element to be painted.State [in]
The state of the UI element.
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Minimum supported client |
Windows 7 [desktop apps only] |
Minimum supported server |
Windows Server 2008 R2 [desktop apps only] |
Header |
Micaut.h (include Micaut.h) |
IDL |
Micaut.idl |