Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Explorer Browser Control

$
0
0

I am having a problem with the Explorer Browser sample code from Windows 7 API Code Pack.

I need to programmatically highlight and give focus to an item in the left hand pane of an Explorer Browser control just as if I had clicked on it.

"eb.ExplorerBrowserControl.Navigate(

 

CType(KnownFolders.Computer,ShellObject))" will highlight it but will not give it focus.  How do I simulate in code what happens when I acutally click on 'Computer' in the left-hand pane?

Then how do I send the Tab Key?  Will this work? "SendKeys.Send("{TAB}")"


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>