Delayed Rendering
When placing a clipboard format on the clipboard, a window can delay rendering
the data in that format until the data is needed. To do so, an application can
specify NULL for the
hData parameter of the
SetClipboardData function. This is useful if the application supports several clipboard
formats, some or all of which are time-consuming to render. By passing a NULL handle,
a window renders complex clipboard formats only when and if they are needed.
If a window delays rendering a clipboard format, it must be prepared to render
the format upon request for as long as it is the clipboard owner. The system
sends the clipboard owner a
WM_RENDERFORMAT message when a request is received for a specific format that has not been
rendered. Upon receiving this message, the window should call the
SetClipboardData function to place a global memory handle on the clipboard in the requested
format.
If the clipboard owner is destroyed and has delayed rendering some or all
clipboard formats, it receives the
WM_RENDERALLFORMATS message. Upon receiving this message, the window should place valid memory
handles on the clipboard for all clipboard formats that it provides. This ensures
that these formats remain available after the clipboard owner is destroyed.
An application should not open the clipboard before calling
SetClipboardData in response to the WM_RENDERFORMAT or WM_RENDERALLFORMATS message.
Any clipboard formats that are not rendered in response to the
WM_RENDERALLFORMATS message cease to be available to other applications and are no longer
enumerated by the clipboard functions.
- 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