My god, I got the same problem. :-( Maybe the format of bmp is not supported by Palm OS.
For me, I used the ICO file to translate to BMP file by ACDSEE, after I translated a ICO file(48x48 resolution) to a BMP file(24x24 resolution), I used the ACDSEE to look the property of the BMP file, it's 48x48 resolution??? but it's 24x24 resolution really. In a formbitamp , it's can display well, but in graphical button, I got the same result as you. :-( "Daniel Seifert" <[EMAIL PROTECTED]> дÈëÓʼþ news:[EMAIL PROTECTED] > > Hi, > > I want to use a graphical button with an highres images (for PalmOS 5). > I used pilrc to specify the bitmaps with a density of two : > > BITMAPFAMILYEX ID ConfigOffBMP > BEGIN > BITMAP "config_off.bmp" BPP 1 DENSITY 1 COMPRESS > BITMAP "config_off.bmp" BPP 8 DENSITY 2 COMPRESS > END > BITMAPFAMILYEX ID ConfigOnBMP > BEGIN > BITMAP "config_on.bmp" BPP 1 DENSITY 1 COMPRESS > BITMAP "config_on.bmp" BPP 8 DENSITY 2 COMPRESS > END > > 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. > > I am using pilrc 2.9p9 (in case this matters) and prc-tools 2.2. > > How can I define a graphical button for highres? > > Thanks in advance for your answers. > > -- > Daniel Seifert <[EMAIL PROTECTED]> > > > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/