I am still unable to display a 4 bit bitmap as 16 color gray scale.  thanks
for the help so far, anyone else have any ideas?

I've attempted this with 
        err =   WinScreenMode(winScreenModeSet, NULL, NULL,&newDepth, NULL);
(tried toggling the last parameter)

//then in my event handler
        MemHandle resHandle = DmGetResource( bitmapRsc, FrontBodyGrayBitmap
);      
        BitmapPtr bmpPtr = (BitmapPtr)MemHandleLock( resHandle );
        WinDrawBitmap( bmpPtr, 10,10);
        MemHandleUnlock( resHandle );
        DmReleaseResource( resHandle );

16 grays display all black.......Frustrating!!!

Palm OS 3.5 IIIXE, CW6, WinNT
Thanks in advance for any suggestions............


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to