How can I get focus rectangle?

  • Thread starter Thread starter Adam J. Schaff
  • Start date Start date
A

Adam J. Schaff

I have noticed that buttons, checkboxes, and radio buttons do not display
focus rectangles (dotted line around border) in the compact framework*. Does
anyone know how I can get this behavior? I am writing a Pocket PC
application that will be used with a scanner and no stylus (typically), so
it is important to indicate the focus to the user.

Any help would be appreciated.

*Note: I think I recall reading that this issue is specific to PPC, so other
WinCE might not have this issue. As mentioned, I am doing PPC development.
 
You are right this issue does not exist on non-PPC CE devices. I don't own a
PPC so I'll take your word for it that Control.Focus doesn't do it.

I would go for a workaround such as changing the style of the control e.g.
toggling FontStyle.Bold|Regular or the BackColor etc

Cheers
Daniel
 
Back
Top