re: how to suppress the focus ring for 5way navigation?

2005-06-16 Thread Harry
Sorry, 
FrmSetNavState() does not work, no matter if I call it before or after 
FrmDrawForm() and no matter what flags I set.

How do you do it in PODS? I have not made the switch from CW yet...

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


re: how to suppress the focus ring?

2005-06-16 Thread Harry
Finally found a way to get rid of it by simply swallowing the event that 
draws the focus ring. Add this into the form handler:

switch (eventP-eType)  {
case frmObjectFocusTakeEvent:
return  true;
}

It should be noted that all the functions and FrmNavXXX and all official 
manipulations of the form navigation order structures etc. did not lead to 
anything. It would have been nice, if there were a proper way of 
accomplishing this.
-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/


how to suppress the focus ring?

2005-06-14 Thread Harry
Hi,

on the Tungsten-E2 I want to suppress the focus ring that comes along with the 
5-way navigation.

Which of the FrmNav... functions is appropriate and when should it be called?

FrmNavRemoveFocusRing() does not seem to work at all. 
FrmGlueNavRemoveFocusRing() seems to be missing from the library, as my linker 
says it is not there (I am using CodeWarrior 9.3).


Removing the Usable flag from the controls, as suggested earlier in another 
thread, is not an option.

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


re: how to suppress the focus ring?

2005-06-14 Thread Stadin, Benjamin
You can disable the object focus mode to prevent 5 way navigation. I use PODS 
and do this statically in the resource editor for each form. If there is no 
such option in CWodeWarrior FrmSetNavState should be what you're looking for. 

http://www.palmos.com/dev/support/docs/palmos/PalmOSReference/Form.html#241

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