please dont rip this site Prev Next

WM_PRINT Overview  Group

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 function processes this message based on which drawing option is specified: if PRF_CHECKVISIBLE is specified and the window is not visible, do nothing, if PRF_NONCLIENT is specified, draw the nonclient area in the given device context, if PRF_ERASEBKGND is specified, send the window a WM_ERASEBKGND message, if PRF_PRINTCLIENT is specified, send the window a WM_PRINTCLIENT message, if PRF_PRINTCHILDREN is set, send each visible child window a WM_PRINT message, if PRF_OWNED is set, send each visible owned window a WM_PRINT message.

See Also

DefWindowProc, WM_ERASEBKGND, WM_PRINTCLIENT 


file: /Techref/os/win/api/win32/mess/src/msg27.htm, 3KB, , updated: 2000/4/7 11:20, local time: 2024/11/24 23:28,
TOP NEW HELP FIND: 
18.219.207.115:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://techref.massmind.org/techref/os/win/api/win32/mess/src/msg27.htm"> WM_PRINT</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to massmind.org!

 

Welcome to techref.massmind.org!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .