it would be better to only make one call to DmGetResource (saves batteries
and runs faster, by only searching for the resource once).


BitmapPtr pbmp;
VoidHand h;
h = DmGetResource('Tbmp', 1300);
pbmp = (BitmapPtr)MemHandleLock(h);
WinDrawBitmap(pbmp, X, Y);
MemHandleUnlock(h);



the types "Handle" and "VoidHand" are synonymous, in every case i know of.
perhaps one of the Palm guys can comment on whether they are always
synonymous or not.  i'm not sure why types exist.

Reply via email to