PC Review


Reply
Thread Tools Rate Thread

How can I get focus rectangle?

 
 
Adam J. Schaff
Guest
Posts: n/a
 
      3rd Dec 2004
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.


 
Reply With Quote
 
 
 
 
Daniel Moth
Guest
Posts: n/a
 
      4th Dec 2004
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
--
http://www.danielmoth.com/Blog/


"Adam J. Schaff" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
>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.
>
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SplitContainer bar showing focus rectangle Brian A. Cline Microsoft C# .NET 0 1st May 2006 04:16 PM
RE: disable focus rectangle =?Utf-8?B?Um9ubmllIFNtaXRo?= Microsoft Dot NET Framework 1 2nd Sep 2005 04:37 AM
RE: UserPainted SplitContainer and Focus-Rectangle Jeffrey Tan[MSFT] Microsoft Dot NET Framework Forms 0 29th Aug 2005 09:05 AM
How to duplicate focus rectangle behaviour? Tony Microsoft Dot NET Framework Forms 2 1st Feb 2004 11:49 PM
Custom tab control focus rectangle Jason Microsoft VB .NET 1 18th Dec 2003 12:45 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:26 PM.