Programming in OPL32 ?

Need to cut and paste bitmaps between S5/Geofox applications via the Clipboard? Or want to combine several bitmaps into one MBM file from an OPL32 application?

CLIPBIT.OPX is free for personal and freeware use, with only modest shareware and commercial fees.

Then download our new CLIPBIT.OPX , it has the following functions:

r% = BitmapToClipBrd%:(Id&)
Copies the bitmap identified by Id& to the clipboard. Id& can be an OPL bitmap ID or an OPX bitmap handle i.e. loaded via gLOADBIT or by BITMAPLOAD&:.

r% = BitmapFromClipBrd%:(f$, x%, y%)
Retrieves a bitmap from the clipboard into a bitmap file whose name was supplied in f$. After retrieval the size in pixels is returned in x% and y%. If no bitmap is available for retrieval an error -33 (Does not exist) is returned.

r% = BitmapToMBM%:(f$, num&, dummy%, bmpids&())
Combine up to 100 bitmap files into one MBM file. f$ is the name of the MBM file to create. num& is the number of bitmaps to combine. The source bitmap file names are stored in a string array. An integer variable such as dummy% must occur immediately before the string array declaration and is used to locate the string array in memory. The bitmap IDs (the ID in each bitmap source file) are held in the bmpids&() array. A return value of -97 (Wrong number of parameters to procedure) indicates an incorrect parameter passed or the absence of the dummy% variable.

r% = BitmapSizeof%:(f$, Id&, x%, y%)
Get the pixel size in x% and y% of a specific bitmap with Id& from the MBM file named in f$. A return value of -33 (Does not exist) indicates that the bitap file could not be found or the path was wrong.

r% = ClearClipBrd%:
Clears the clipboard of everything - text or bitmap.

OPX downloads




For the MARM version of CLIPBIT.OPX , in SIS format, click here CLIPBIT.SIS


For the WINS debug version of CLIPBIT.OPX , in SIS format, click here CLIPBWS.SIS


If you have any comments about CLIPBIT.OPX please contact us via one of the following methods.


           Tel        : +44 (0) 161 969 3205 
           Fax        : +44 (0) 161 969 3197 

           e-mail     : info@emcc.cix.co.uk
           Or write to: EMCC, PO Box 109, Sale, Cheshire, M33 4TA, England

Home page


Copyright © 1998 EMCC Software. All rights reserved. Revised: July 14th, 1998