Hi NG !
I'm not shure if i'm in the right NG but I'm desperate because don't finding
help! So i try it here.
I have a little c# - application in which i showns some files in a listview.
Now i would like to get the Windows Explorer Context Menu, if i press the
right mouse button on a file.
I have a code in VB6.0 which uses the IShellFolder and IContextMenu. I'm
trying to transver this in C# but I do not understand what I exactly have to
do.
Could you please help me !
I don't know Shell-Programming so each tip is welcome.
Thanks
Regards
Marcel Hug
Mattias Sj?gren - 15 Jan 2005 01:37 GMT
Marcel,
>I have a code in VB6.0 which uses the IShellFolder and IContextMenu. I'm
>trying to transver this in C# but I do not understand what I exactly have to
>do.
>
>Could you please help me !
You can see in
%FrameworkSDKDir%\Samples\Technologies\Interop\Applications\ShellCmd\ShellExtLib.cs
how to declare IContextMenu in C#. You may be able to find the other
interfaces you need at http://www.pinvoke.net
Mattias

Signature
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.