Re: Move UI Elements for Focus Ring Support?

2007-05-19 Thread Roger Stringer
At 04:15 AM 5/19/2007, you wrote: Subject: Move UI Elements for Focus Ring Support? From: "P. Douglas Reeder" <[EMAIL PROTECTED]> Date: Sat, 19 May 2007 01:57:53 -0400 X-Message-Number: 7 The PalmSource User Interface Guidelines recommend that the leftmost button on a modele

Move UI Elements for Focus Ring Support?

2007-05-18 Thread P. Douglas Reeder
based input. However the focus ring for one-handed navigation is two pixels thick (in standard coordinates). Thus, when the leftmost button has the focus, the focus ring cannot be completely displayed -- the left and bottom borders are only one pixel thick. For other buttons, the left border c

Drawing focus ring crashes on Treo 600p

2007-03-19 Thread sheardp
A user has just complained that my program crashes on her Treo 700p. The same program works fine on the 700p emulator, and also works on her device when a call to FrmGlueNavDrawFocusRing is removed. The object in focus is a command button, and the failure occurs when the form is opened. I am not

Re: Managing new blue focus ring

2006-02-08 Thread Luc Le Blanc
Harry wrote: If you just want to suppress the focus ring try the following (works fine in my app). In the form event handler just "swallow" the event that gives the focus to the control: switch (eventP->eType) { case frmObjectFocusTakeEvent: return true; ... There is

Re: Managing new blue focus ring

2006-02-08 Thread Luc Le Blanc
Grzegorz Szewc wrote: If you wont to turn off nav focus ring try to add following lines in frmOpen event: FrmNavStateFlagsTypenavStateFlags; Err navErr; navErr = FrmGetNavState (frmP, &navStateFlags); navStateF

re: Managing new blue focus ring

2006-02-07 Thread Harry
If you just want to suppress the focus ring try the following (works fine in my app). In the form event handler just "swallow" the event that gives the focus to the control: switch (eventP->eType) { case frmObjectFocusTakeEvent: return true; ... There is one exeption howeve

Re: Managing new blue focus ring

2006-02-06 Thread Ben Combee
At 02:16 PM 2/4/2006, you wrote: I'm not sure from your example whether I must complete the object array with every single form object I have in each form even if I just want to completely turn off the blue focus ring. No, just specify the mode as appFocusStartState and don't bothe

RE: Managing new blue focus ring

2006-02-06 Thread Grzegorz Szewc
If you wont to turn off nav focus ring try to add following lines in frmOpen event: FrmNavStateFlagsTypenavStateFlags; Err navErr; navErr = FrmGetNavState (frmP, &navStateFlags); navStateFlags &= ~kFrmNavStateFlagsObjectFocusMode

Re: Managing new blue focus ring

2006-02-04 Thread Luc Le Blanc
I'm not sure from your example whether I must complete the object array with every single form object I have in each form even if I just want to completely turn off the blue focus ring. -- Luc Le Blanc Grzegorz Szewc wrote: You can create navigation file and add it to your project

Re: Managing new blue focus ring

2006-02-03 Thread Ben Combee
At 06:35 AM 2/3/2006, you wrote: "Ben Combee" <[EMAIL PROTECTED]> a écrit dans le message de news: [EMAIL PROTECTED] > > If you use a 'fnav' resource to tell Palm OS that your form should not be > in Object Interaction mode, you shouldn't get the blue ring. This focus > system has a major benefi

RE: Managing new blue focus ring

2006-02-03 Thread Grzegorz Szewc
You can create navigation file and add it to your project. The file extension should be .r, here is an example: //File navigation.r #include "StarterRsc.h" //You have to include all resource headers you will//reference to #define frmNavFlags \ defaultStartStateVal

Re: Managing new blue focus ring

2006-02-03 Thread Regis St-Gelais
"Ben Combee" <[EMAIL PROTECTED]> a écrit dans le message de news: [EMAIL PROTECTED] > > If you use a 'fnav' resource to tell Palm OS that your form should not be > in Object Interaction mode, you shouldn't get the blue ring. This focus > system has a major benefit for smart phone users, where i

Re: Managing new blue focus ring

2006-02-02 Thread Ben Combee
At 11:29 PM 2/2/2006, you wrote: When I saw my app running on a Palm E2, I noticed my most complicated form was half filled, thanks to the new blue focus ring that made my handler think the form had already been initialized since FrmGetFocus no longer returned noFocus upon starting. I also

Managing new blue focus ring

2006-02-02 Thread Luc Le Blanc
When I saw my app running on a Palm E2, I noticed my most complicated form was half filled, thanks to the new blue focus ring that made my handler think the form had already been initialized since FrmGetFocus no longer returned noFocus upon starting. I also noted this blue ring can make things

Re: blue focus ring

2006-01-18 Thread Borszczuk
On Wednesday 18 of January 2006 14:50 Regis St-Gelais wrote: > This was discused before but I was not able to find the thread. > > Is there a way to get rid of the blue focus ring without adding an fnav > resource to the form? Why would you like to do so? Lack of keyboard "na

blue focus ring

2006-01-18 Thread Regis St-Gelais
This was discused before but I was not able to find the thread. Is there a way to get rid of the blue focus ring without adding an fnav resource to the form? Thanks -- Regis St-Gelais www.laubrass.com -- For information on using the PalmSource Developer Forums, or to unsubscribe, please

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

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

2005-06-15 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

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/F

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

Re: Focus ring

2005-02-09 Thread Cory Pratt
Eric Potter wrote: > I got my first T5 recently. One of the first things I noticed was that > on all of my modal forms, a button is given the focus ring. How does the > palm decide which button gets the focus? Is it possible to not give the > focus to a button? Is it possible to con

Focus ring

2005-02-09 Thread Eric Potter
I got my first T5 recently. One of the first things I noticed was that on all of my modal forms, a button is given the focus ring. How does the palm decide which button gets the focus? Is it possible to not give the focus to a button? Is it possible to control this in the resource file? The

Re: Treo 600 5 way navigator -- default button doesn't get focus ring

2004-11-09 Thread Matthew Henry
Thanks Ben, I overrode DoModal() in my parent ModalForm class so that the frmOpenEvent is posted before the form is initialized - that worked even better. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Treo 600 5 way navigator -- default button doesn't get focus ring

2004-11-06 Thread Ben Combee
At 03:50 PM 11/5/2004, you wrote: I believe I found an even slicker solution to this problem. Basically, POL::CModalForm is doing something so that the default focus ring is never set. I can't for the life of me figure out what POL::CModalForm is doing wrong, but this appears to work arou

Re: Treo 600 5 way navigator -- default button doesn't get focus ring

2004-11-05 Thread Matthew Henry
Sorry, I should explain, my FixFnavFocus() method should be called at the end of OnOpen(). -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Treo 600 5 way navigator -- default button doesn't get focus ring

2004-11-05 Thread Matthew Henry
I believe I found an even slicker solution to this problem. Basically, POL::CModalForm is doing something so that the default focus ring is never set. I can't for the life of me figure out what POL::CModalForm is doing wrong, but this appears to work around it. void CMyModalForm::FixFnav

Re: Treo 600 5 way navigator -- default button doesn't get focus ring

2003-12-03 Thread Ben Summers
At Tue, 02 Dec 2003 15:54:57, Ben Combee wrote: At 03:50 PM 12/2/2003, Ben Summers wrote: However, I can't seem to get the focus ring to be drawn over the default buttons in my forms. This is in the simulator, and on the real hardware. Is your form in object focus mode rather than applic

Re: Treo 600 5 way navigator -- default button doesn't get focus ring

2003-12-02 Thread Ben Combee
At 03:50 PM 12/2/2003, Ben Summers wrote: However, I can't seem to get the focus ring to be drawn over the default buttons in my forms. This is in the simulator, and on the real hardware. Is your form in object focus mode rather than application mode? I'm using POL with Codewarrior 9.

Treo 600 5 way navigator -- default button doesn't get focus ring

2003-12-02 Thread Ben Summers
Hi I'm trying to get an application working nicely on the Treo 600, and am making sure it works well with the five way navigator button. However, I can't seem to get the focus ring to be drawn over the default buttons in my forms. This is in the simulator, and on the real hardwar