Being a b/w bitmap, it is drawn as b/w if I put it
on a form as a form bitmap.

However, it is drawn as blue with following code:

void uiDrawBitmap(int bmID, short scrnx, short scrny)
{
 if (bmID) { // a bitmap selected
  VoidHand handle = DmGetResource(bitmapRsc, bmID);
  if (handle) {
   void* memory = MemHandleLock(handle);
   if (memory) {
    WinDrawBitmap(memory, scrnx, scrny);
    MemPtrUnlock(memory);
   }
   DmReleaseResource(handle);
  }
 }
}

Bug?

One more thing, the old "button over a bitmap" trick
works ok for me. The button has no frame or name.

Thanks
horace

POSE 3.0a2
ROM 3.5 bld 20

Reply via email to