> and in the form I wrote
> 
>         BUTTON " "   ConfigButton     AT (17 10 20 20)  GRAPHICAL BITMAPID 
> ConfigOffBMP SELECTEDBITMAPID ConfigOnBMP NOFRAME
> 
> The image is 39x39. If I use (17 10 39 39), the images are drawn in
> correct size but the button itself is 39x39 in low-res, e.g. in high-res
> there's an 78x78 white space with only the top-left quarter containing
> the image.
> Using (17 10 20 20) as coordinates, the size of the button itself is
> fine, but the image is not entirely visible, only the lower-right
> quarter of the image is displayed in the upper-left corner of the
> button's space on the screen.

thats interesting! i do this.

BITMAPFAMILYEX bitmapSearch
COMPRESS
BEGIN
  BITMAP "images/common/tl_search.bmp"         BPP 1
  BITMAP "images/common/tl_search-8bpp.bmp"    BPP 8
  BITMAP "images/common/tl_search-8bpp-hr.bmp" BPP 8 DENSITY 2
END

BITMAPFAMILYEX bitmapSearchInverted
COMPRESS
BEGIN
  BITMAP "images/common/tli_search.bmp"         BPP 1
  BITMAP "images/common/tli_search-8bpp.bmp"    BPP 8
  BITMAP "images/common/tli_search-8bpp-hr.bmp" BPP 8 DENSITY 2
END

...

  BUTTON "" ID MainFormSearchButton AT (63 PrevTop 12 12) NOFRAME 
    GRAPHICAL BITMAPID bitmapSearch SELECTEDBITMAPID bitmapSearchInverted

and it works fine for me. my bitmaps are 12x12 and 24x24 respectively

---
Aaron Ardiri                        [EMAIL PROTECTED]
CEO - CTO                                           +46 70 656 1143
Mobile Wizardry                      http://www.mobilewizardry.com/


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

Reply via email to