At 12:30 PM -0700 10/27/99, Gaurav Palvia wrote:
> i have created a bitmap resource.i have not attached it to my form.
>i want this bitmap to be drawn on the fly.i know that there is one function
>called WinDrawBitmap but it requires pointer to that bimap,
>how will i get the pointer to an object(bitmap) which is not on my form.
DmGetResource and MemHandleLock are the usual ways. Don't forget to
MemHandleUnlock and DmReleaseResource when you're done.
Phew, this was easy -- when I first saw the subject I thought there was
going to be some bug in the bitmap support for OS 3.5. :-)
--Bob