You can use the CF_LOCALE format to associate a different locale with the clipboard text. When you close the clipboard, if it contains CF_TEXT data but no CF_LOCALE data, the system automatically sets the CF_LOCALE format to the current input language. The data is a handle (HGLOBAL) to the locale identifier ( LCID) associated with text in the clipboard. An application can retrieve information about the files by passing the handle to the DragQueryFile function. Also, when using values in this range, the hMem parameter is not a handle to a GDI object, but is a handle allocated by the GlobalAlloc function with the GMEM_MOVEABLE flag.Ī handle to type HDROP that identifies a list of files. Handles associated with clipboard formats in this range are not automatically deleted using the GlobalFree function when the clipboard is emptied. Start of a range of integer values for application-defined GDI object clipboard formats. The hMem parameter must be a handle to data that can be displayed in text format in lieu of the privately formatted data.Ī handle to an enhanced metafile ( HENHMETAFILE). Text display format associated with a private format. The hMem parameter must be a handle to data that can be displayed in metafile-picture format in lieu of the privately formatted data. Metafile-picture display format associated with a private format. The hMem parameter must be a handle to data that can be displayed in enhanced metafile format in lieu of the privately formatted data. The hMem parameter must be a handle to data that can be displayed in bitmap format in lieu of the privately formatted data.Įnhanced metafile display format associated with a private format. Constants Constant/valueĪ memory object containing a BITMAPINFO structure followed by the bitmap bits.Ī memory object containing a BITMAPV5HEADER structure followed by the bitmap color space information and the bitmap bits.īitmap display format associated with a private format. Example case CF_BITMAP:įull example is on Using Clipboards. These clipboard formats are described in the following table. The clipboard formats defined by the system are called standard clipboard formats.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |