The format is available from the Hewlett-Packard Web site. This is a format devised by Microsoft, Aldus Corporation, and Hewlett-Packard Company in conjunction with some hardware manufacturers. CF_TIFF A memory block containing data in the Tag Image File Format (TIFF).It is also possible to store bitmap data in the clipboard in the industry-standard TIFF format: This is generally used in conjunction with CF_DIB for defining a color palette used by a device-dependent bitmap. CF_PALETTE A handle to a color palette.The memory block begins with a bitmap information structure followed by a possible color table and the bitmap bits. CF_DIB A memory block defining a device-independent bitmap, as described in Chapter 15.Again, a program should not continue to use this bitmap after giving it to the clipboard. The bitmap is transferred to the clipboard using the bitmap handle. Bitmaps and these bitmap clipboard formats are discussed in more detail in Chapters 14 and 15: There are three clipboard formats used in conjunction with bitmaps, which are rectangular arrays of bits that correspond to the pixels of an output device. This is also an ASCII format with lines terminated with carriage returns and linefeeds.
#CLIPTEXT 2.1 SOFTWARE#
This is a format devised by Software Arts for use in transferring data to the VisiCalc spreadsheet program.
![cliptext 2.1 cliptext 2.1](https://thumbs.dreamstime.com/z/blank-comic-speech-star-balloon-template-text-bubble-halftone-dot-background-style-pop-art-dialog-empty-box-space-creative-85007245.jpg)
#CLIPTEXT 2.1 WINDOWS#
CF_UNICODETEXT is supported under Windows NT only. Like CF_TEXT, each line is terminated with a carriage return and linefeed character, and a NULL character (two zero bytes) indicates the end of the data.
![cliptext 2.1 cliptext 2.1](https://thumbs.dreamstime.com/z/d-penguin-what-next-question-illustration-standing-text-54495048.jpg)
CF_UNICODETEXT A memory block containing Unicode text.Windows programs usually don't need to worry about this it comes into play when using the clipboard in conjunction with MSDOS programs running in a window. CF_OEMTEXT A memory block containing text data (similar to CF_TEXT) but using the OEM character set.(I'll discuss this concept shortly.) The memory block becomes the property of the clipboard, and the program that creates the block should not continue to use it. The data to be transferred to the clipboard is stored in a memory block and is transferred using the handle to the block. This is the simplest form of clipboard data. CF_TEXT A NULL-terminated ANSI character-set character string containing a carriage return and a linefeed character at the end of each line.Windows supports various predefined clipboard formats that have identifiers beginning with the prefix CF defined in WINUSER.H.įirst, there are three types of text data that can be stored in the clipboard, and another related clipboard format:
#CLIPTEXT 2.1 CODE#
We'll begin by looking at the code involved for transferring data to the clipboard (Cut and Copy) and getting access to clipboard data (Paste).