After I created a bitmap in the resource, then I used the  bitmap to
draw the bitmap in a form.
The problem is:  

                Sometimes the bitmap appears, but sometimes it
disappears

The code:

               drawWin = WinGetActiveWindow();
               WinEnableWindow(drawWin);

               resH = DmGetResource(bitmapRsc, WarningBitmap);
               resP = MemHandleLock(resH);
               WinDrawBitmap(resP, 139, 91);
               MemPtrUnlock(resP);
               DmReleaseResource(resH);
    
Would you please give me help on this??

Thank you in advance.


Steve   
[EMAIL PROTECTED]

Reply via email to