We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug and how to reproduce
Vanara/Windows.Shell.Common/ShellObjects/ShellContextMenu.cs
Line 225 in fe637c0
What code is involved
For problem 1:
Work:
ShellContextMenu ContextMenu = new ShellItem("<File path>").ContextMenu; if (ContextMenu.GetItems(Shell32.CMF.CMF_DEFAULTONLY).FirstOrDefault((Item) => string.Equals(Item.Verb, "open", StringComparison.OrdinalIgnoreCase)) is ShellContextMenu.MenuItemInfo Info) { ContextMenu.InvokeVerb(Info.Verb); }
Not work:
ShellFile.ShellCoreItem.ContextMenu.InvokeVerb("open");
Expected behavior
The text was updated successfully, but these errors were encountered:
Fixed bug in ShellContextMenu.InvokeCommand where it wouldn't run if …
a6b7eaa
…QueryContextMenu had not been called (#468). Thanks to @shuxb711 for the workaround.
Fixed in upcoming 4.0.2. Thanks for hint.
Sorry, something went wrong.
No branches or pull requests
Describe the bug and how to reproduce
Vanara/Windows.Shell.Common/ShellObjects/ShellContextMenu.cs
Line 225 in fe637c0
What code is involved
For problem 1:
Work:
Not work:
Expected behavior
The text was updated successfully, but these errors were encountered: