Hi ..
I've looked at more FAQs then one can imagine but
this newbie just cant figure this out.
I just want to display a bitmap using WinDrawBitmap.
snipped here is the code ..
File is a 32x32x2 file in windows bitmap (.bmp) format
The .bin file created by Pilrc is:
---------------------------------------------------------------
0000000 00 20 00 20 00 04 00 00 00 00 00 00 00 00 00 00
0000020 ff ff ff ff 80 00 00 01 80 00 00 01 80 00 00 01
0000040 80 00 00 01 80 00 00 01 80 00 00 01 80 00 00 01
*
0000200 80 00 00 01 80 00 00 01 80 00 00 01 ff ff ff ff
0000220
---------------------------------------------------------------
In my .rcp file I have
--------------------------------------------
BITMAP ID BM2 "32x32y.bmp"
--------------------------------------------
In the .h file I have
--------------------------------------------
#define BM2 1303
--------------------------------------------
In my .c I have
-------------------------------------------------
case RaceStatusButton:
WinDrawBitmap ((BitmapPtr) BM2, 10,40);
// FrmAlert (RaceStatsAlert);
break;
------------------------------------------------
Hitting the button displays nothing ...
(the old code to pop up an alert works)
Program now will force the PP to be reset ..
Please .. really need some help on this simple problem.
Thanks,
-pete
> -----Original Message-----
> From: David Fedor [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 01, 1999 6:23 PM
> To: [EMAIL PROTECTED]
> Subject: Re: How to launch a PQA programmatically?
>
>
> >I would like to launch a PQA programatically from within an
> application.
> >... It is my understanding that the default Palm Launcher
> >launches some sort of "PQA viewer" application which loads
> the desired
> >PQA. How would I do this from within an application?
>
> Yes, the viewer application is called Clipper, and isn't displayed to
> users. See my other note for a snippet of code showing how
> to find and
> launch it, telling it which PQA to open. The owning app is found by
> looking at the creator id of the PQA. (It currently is
> 'clpr', but you're
> better off not making an unnecessary assumption about that.)
>
> -David Fedor
> Palm Developer Support
>
>
>