13.07.2015 Views

REFERENCE GUIDE

REFERENCE GUIDE

REFERENCE GUIDE

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

function when the application obtains a WM_P AINT message by usingthe GetMessage or PeekMessage function.Parameters wParam Is not used.IParamIs not used.WM_PAINTCLIPBOARDThis message is sent when the clipboard contains a data handle for theCF _OWNERDISPLAY format (specifically the clipboard owner shoulddisplay the clipboard contents) and the Clipboard application's client areaneeds repainting. The WM_P AINTCLIPBOARD message is sent to theclipboard owner to request repainting of all or part of the Clipboardapplication's client area.Parameters wParam Contains a handle to the Clipboard-application window.CommentsIParamThe low-order word of the IParam parameter identifies aPAINTSTRUCT data structure that defines what part of theclient area to paint. The high-order word is not used.To determine whether the entire client area or just a portion of it needsrepainting, the clipboard owner must compare the dimensions of thedrawing area given in the repaint field of the PAINTSTRUCT datastructure to the dimensions given in the most recentWM_SIZECLIPBOARD message.An application must use the GlobalLoek function to lock the memory thatcontains the PAINTSTRUCT data structure. The application should unlockthat memory by using the GlobalUnloek function before it yields orreturns control.WM_PAINTICON 3,0This message is sent to a minimized (iconic) window when the icon is tobe painted. A window receives this message only if a class icon is definedfor the window. Otherwise, WM_P AINT is sent instead. Passing thismessage to the DefWindowProe function permits Windows to paint theicon with the class icon.Parameters wParam Is not used.IParamIs not used.678Software development kit

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!