ShellFolderView.SelectionChanged event

  • Thread starter Thread starter mcr
  • Start date Start date
M

mcr

Hi

Can anyone tell me how I can use the ShellFolderView.SelectionChanged event
from
C#?

I have an webBrowserClass object. From its document property I get the
ShellFolderView interface. From this interface I get the selectionChanged
event.

What happens is when I doubleclick a folder I get the event but the folder
does not open. It seems like the event just disappears after I get it.

Normally you would have to tell windows that the event was handled or not
handled, but how do I do this from C#.


Hope you understand my question.


Regards
Martin.
 
Does the event handler get passed any parameters or does it have any return
value which you can set to tell the control that the event was properly
handled?

----------------
-Atul, Sky Software http://www.ssware.com
Shell MegaPack For .Net & ActiveX
Windows Explorer GUI Controls
&
Quick-Launch Like Appbars, MSN/Office2003 Style Popups,
System Tray Icons and Shortcuts/Internet Shortcuts
 
The event look like this:

private void SelectionChanged()
{
}

and the declaration is:

folderView.SelectionChanged += new
DShellFolderViewEvents_SelectionChangedEventHandler(SelectionChanged);

the folderView is a ShellFolderView interface.

Martin
 
Back
Top