Windows, Xojo and the Clipboard
- WindowsClipboardMBS for Windows to get/set data.
- NSPasteboardMBS for Cocoa apps.
- ClipboardMBS for older Carbon apps.
The clipboard can hold several data types and Windows defines a couple of standard formats. Beside the bitmap type, there is a DIB type for a device independent bitmap and Metafile Picture for vector graphics. Normally Windows should convert from DIB to BITMAP or back.
Still some applications like Excel or Word look for the DIB and the conversion from BITMAP doesn’t work well. So we added new SetDIB/GetDIB functions to put a Xojo picture on the clipboard in the DIB format. This should solve problems people may have with clipboard.
If you like to try the newer plugins, please do not hesitate to contact us.