Make a Button Appear Focused When Not
Posted
by Bret
on Stack Overflow
See other posts from Stack Overflow
or by Bret
Published on 2010-06-15T02:44:23Z
Indexed on
2010/06/15
2:52 UTC
Read the original article
Hit count: 283
The Find and Replace dialog in Visual Studio is a perfect example of what im trying to accomplish. Notice how the "Find what" text field has keyboard focus but the "Find Next" button appears bluish as if it has keyboard focus also even though it does not.
How can I accomplish this myself? I've tried messing with FocusManager and Focus Scopes without much luck. I suspect i may be barking up the wrong tree? Any advice is appreciated!
Thanks
© Stack Overflow or respective owner