On Fri, 10 Mar 2000, Aaron Ardiri wrote:

>   there is a much easier way to do it :)
> 
> ---
>   MemHandle bitmapHandle = DmGet1Resource('Tbmp', bitmapID);
>   WinDrawBitmap((BitmapType *)MemHandleLock(bitmapHandle), x, y);
>   MemHandleUnlock(bitmapHandle);
>   DmReleaseResource(bitmapHandle);

Thanks!  This helped considerably.
I received compiler errors for MemHandle though.  I had to make that a
VoidHand.

        Noah

> ---
> 
>   :)) this of course extracts a resource with type 'Tbmp' and a given
>   ID out of the .prc data area. :P
> 
>   hope this helps.
> 
> az. 
> --
> Aaron Ardiri 
> Java Certified Programmer      http://www.hig.se/~ardiri/
> University-College i G�vle     mailto:[EMAIL PROTECTED]
> SE 801 76 G�vle SWEDEN       
> Tel: +46 26 64 87 38           Fax: +46 26 64 87 88
> Mob: +46 70 656 1143           A/H: +46 8 668 78 72
> 
> if you enjoy it, then it aint work :) - rule #106 of life
> 
> 
> -- 
> For information on using the Palm Developer Forums, or to unsubscribe, please see 
>http://www.palm.com/devzone/mailinglists.html
> 

--------------------------------------------------------------------------------
Noah J. Ternullo                                [EMAIL PROTECTED]
--------------------------------------------------------------------------------
"As a matter of constitutional tradition, in the absence of evidence to the 
contrary, we presume that governmental regulation of the content of speech
is more likely to interfere with the free exchange of ideas than to
encourage it."                  - Supreme Court Justice John Paul Stevens 
--------------------------------------------------------------------------------


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to