Thanks Markus and Aaron! It worked fine on Tungsten when started from the launcher.
....however, when the app is started by pressing a hardware key, a previous clearscreen occurs...is there any other way to detect and launch an app by pressing a key, before the event is detected by the default launcher? I'm on OS 5, so there are no hacks, right? Thanks again, Sebastian | -----Original Message----- | From: [EMAIL PROTECTED] | [mailto:[EMAIL PROTECTED]]On Behalf Of Markus | Dresch | Sent: Wednesday, January 15, 2003 9:56 AM | To: Palm Developer Forum | Subject: Re: No clearscreen on statup - CodeWarrior | | | also tested it on a tungsten t and works fine. | | markus dresch (www.palmside.com) | | "Aaron Ardiri" <[EMAIL PROTECTED]> schrieb im Newsbeitrag | news:108923@palm-dev-forum... | > | > > try this code in your startup function: | > > | > > BitmapType *bmp = LoadBitmap(BMP_TEST); | > > WinScreenLock(winLockDontCare); | > > WinScreenUnlock(); | > > WinPaintBitmap(bmp, 40, 40); | > | > this trick doesn't always work every device - the launcher itself may | > actually clear the screen when switching. there is no 'exact' way to | > do this on every device. | > | > it works for m505 units using the standard launcher - as, this trick | > i gave out to people for the mobilewizardry demo coding competition. | > | > --- | > 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/ | -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
