Caspar you're a star!!! It worked, I'm using the POL so it took
a bit of finding but I got it sorted now, cheers mate

        Charles


> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Caspar Heiden, vd
> Sent: 10 December 2003 13:03
> To: Palm Developer Forum
> Subject: RE: Can you disable the find button?
> 
> 
> > Can you disable the find button?
> 
> Doesn't this work?
> 
> - Find the coordinates of the search button on the silkscreen;
> - In your AppEventLoop function, directly after your call to 
> EvtGetEvent test the event:
> -     Is it a pen down (up? moved?) event and
> -     are it's coordinates in the area of the search button?
> - If the answer to both questions is yes, simply ignore the 
> event (don't pass it on to SysHandleEvent, ....)
> 
> In a test - application I once made, I 'caught' all the pen - 
> events (and didn't pass them on). As far as I can remember, 
> the only way to kill the app was a reset... 
> 
> good luck,
> 
> Caspar
> 
> 
>       Hiyer all
> 
>       I'm trying to lock the palm down to a single app, 
> hotsync and calibration. Got it pretty much sorted, I have 
> trapped all the buttons, I use system nofitication to kick 
> the application off and hotsync when I want, and 
> LaunchWithCommand to allow the user to calibrate the device. 
> The only thing that remains is to disable searching, you can 
> still exit the application by searching, if a match is found 
> in say the address book, all you have to do is select it and 
> you are out. So is there any way of disabling the find button 
> on the graffity area?
> 
>       Cheers
> 
>       Charles
> 
> 
> /////////////////////////////////////////
> // Charles Garc�a-Tobin         ""-.  
> //                            /[] _ _\ 
> // Software and              _|_o_LII|_
> // Firmware engineer        / | ==== | \  
> //                          |_| ==== |_|
> //                           ||" ||  ||
> //                           ||LI  o ||
> //                           ||'----'||
> // Firm Designs Ltd         /__|    |__\
> ///////////////////////////////////////// 
> 
> 
> -- 
> 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/
> 


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

Reply via email to