Synthesized Clipboard Formats
The system implicitly converts data between certain clipboard formats: if a
window requests data in a format that is not on the clipboard, the system
converts an available format to the requested format. The system can convert data as
indicated in the following table.
Clipboard Format
| Conversion Format
| Platform Support
|
CF_BITMAP
| CF_DIB
| Windows NT, Windows 95
|
CF_DIB
| CF_BITMAP
| Windows NT, Windows 95
|
CF_DIB
| CF_PALETTE
| Windows NT, Windows 95
|
CF_ENHMETAFILE
| CF_METAFILEPICT
| Windows NT, Windows 95
|
CF_METAFILEPICT
| CF_ENHMETAFILE
| Windows NT, Windows 95
|
CF_OEMTEXT
| CF_TEXT
| Windows NT, Windows 95
|
CF_OEMTEXT
| CF_UNICODETEXT
| Windows NT
|
CF_TEXT
| CF_OEMTEXT
| Windows NT, Windows 95
|
CF_TEXT
| CF_UNICODETEXT
| Windows NT
|
CF_UNICODETEXT
| CF_OEMTEXT
| Windows NT
|
CF_UNICODETEXT
| CF_TEXT
| Windows NT
|
If the system provides a conversion between multiple formats, there is no
advantage to placing multiple formats on the clipboard. When copying bitmaps, it is
best to place only the CF_DIB format on the clipboard. This is because the
colors in a device-dependent bitmap (CF_BITMAP) are relative to the system
palette, which may change before the bitmap is pasted. If only the CF_DIB format is on
the clipboard and a window requests the CF_BITMAP format, the system renders
the device-dependent bitmap (DIB) using the current palette at that time.
If you place the CF_BITMAP format on the clipboard (and not CF_DIB), the
system renders the CF_DIB clipboard format as soon as the clipboard is closed. This
ensures that the correct palette is used to generate the DIB. Conversions
between other clipboard formats occur upon demand.
- 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