|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| Yes
| Import Library
| -
| Header File
| winuser.h
| Unicode
| No
| Platform Notes
| None
|
|
|
WM_PAINTCLIPBOARD
The WM_PAINTCLIPBOARD message is sent to the clipboard owner by a clipboard
viewer window when the clipboard contains data in the CF_OWNERDISPLAY format and
the clipboard viewer's client area needs repainting.
WM_PAINTCLIPBOARD
hwndViewer = (HWND) wParam; // handle of clipboard viewer window
hglbPs = (HGLOBAL) lParam; // handle of PAINTSTRUCT object
Parameters
hwndViewer
Value of
wParam. Identifies the clipboard viewer window.
hglbPs
Value of
lParam. Identifies a global DDESHARE object that contains a
PAINTSTRUCT structure. The structure defines the part of the client area to paint.
Return Values
If an application processes this message, it should return zero.
Remarks
To determine whether the entire client area or just a portion of it needs
repainting, the clipboard owner must compare the dimensions of the drawing area
given in the
rcpaint member of
PAINTSTRUCT to the dimensions given in the most recent WM_SIZECLIPBOARD message.
The clipboard owner must use the
GlobalLock function to lock the memory that contains the
PAINTSTRUCT structure. Before returning, the clipboard owner must unlock that memory by
using the
GlobalUnlock function.
See Also
GlobalLock,
GlobalUnlock,
PAINTSTRUCT,
WM_SIZECLIPBOARD
- Software for developers
-
Delphi Components
.Net Components
Software for Android Developers
- More information resources
-
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
- Databases for Amazon shops developers
-
Amazon Categories Database
Browse Nodes Database