PC Review


Reply
Thread Tools Rate Thread

Keyboard focus (as described by FocusVisualStyle) not rendered if

 
 
phil31_
Guest
Posts: n/a
 
      11th Jul 2008
How to reproduce:
-embed WPF content in a Win32 application as described in the msdn topic
"WPF and Win32 Interoperation Overview".
- press the TAB key inside the WPF content to move from one control to
another.
- expected: the style described by the property FocusVisualStyle would be
rendered to indicate keyboard focus (usually it's a dashed rectangle).
- observed: keyboard focus is not rendered.
This problem can be noticed in the msdn sample "Hosting Windows Presentation
Foundation Content in a Win32 Window" by navigating using the keyboard to one
of the WPF buttons.
NOTE: If the same WPF content is placed as the Content of a Window, then the
keyboard focus is rendered properly.

Is this a known bug? Is there any documented workaround?
 
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
How can I check if the ActiveSheet has keyboard focus? Matt Microsoft Excel Programming 5 15th May 2009 06:14 AM
Keyboard Focus David Windows XP Customization 0 27th Jan 2006 10:28 PM
Keyboard focus issue - form in separate thread/separate appdomain =?Utf-8?B?REpIdWdoZXM=?= Microsoft Dot NET Framework 0 13th Mar 2005 01:07 AM
Panel & keyboard focus Mikhail Fedosov Microsoft Dot NET Framework Forms 2 30th Nov 2004 12:31 PM
Keyboard Shortcuts without set focus Mystique Microsoft Dot NET Framework Forms 1 24th Mar 2004 04:22 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:42 PM.