How can I get focus rectangle?

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.
 
D

Daniel Moth

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top