>Can anybody point me in the right direction here.
>
>I want to make calls to some WIN32Api routines that will manipulate bitmaps. I need to give a handle to a bitmap as an input parameter.
>
>So, for a given .BMP file, how do I load the bitmap data, and get the
>handle??
Look at:
DECLARE INTEGER LoadBitmap IN Win32API;
INTEGER hInstance, STRING @lpBitmapName
you'll also need:
DECLARE SHORT DeleteObject IN Win32API;
INTEGER hObject,
Pass the handle to this function when finished.
I haven't used the first one, however, the documentation indicates that the first value of LoadBitmap may be null.
hth,
George
Ubi caritas et amor, deus ibi est