Menu issues  Using accelerator keys in a top-level menu item

Release Bulletin PocketBuilder™ 2.0

GetAsBitmap function not documented in online Help

The system function, GetAsBitmap is not currently documented in the online Help. This function converts the current image of an object derived from the GraphicObject baseclass to a standard Windows bitmap. You assign the visual object that you want to capture in the first argument to the GetAsBitmap fucntion, and reference the bitmap you want to create as a Blob datatype in the second argument to the function. The bitmap can then be saved to a file or set in a picture control. The function returns 1 for success and a negative number if an error occurs.

The GetObjectAsBitmap.PKT target in the PocketBuilder Code Examples\misc directory demonstrates how to use this function.





Copyright © 2004. Sybase Inc. All rights reserved. Using accelerator keys in a top-level menu item

View this release bulletin as PDF