WM_PRINT
The WM_PRINT
message is sent to a window to request that it draw itself in the specified
device context, most commonly in a printer device context.
WM_PRINT
hdc = (HDC) wParam;
uFlags = lParam;
Parameters
hdc
Identifies
the device context to draw in.
uFlags
Specifies the
drawing options. This parameter can be one or more of these flags:
Value |
Meaning |
PRF_CHECKVISIBLE |
Draw the
window only if it is visible. |
PRF_CHILDREN |
Draw all
visible children windows. |
PRF_CLIENT |
Draw the
client area of the window. |
PRF_ERASEBKGND |
Erase the
background before drawing the window. |
PRF_NONCLIENT |
Draw the
nonclient area of the window. |
PRF_OWNED |
Draw all
owned windows. |
Remarks
The DefWindowProc
See Also