[BUG] Right click on items to choose "Send to" doesn't work (#225), version 1.2.2.5

This commit is contained in:
Markus Hofknecht 2022-01-25 17:40:43 +01:00
parent ea1d6a0d19
commit a43c6e0d9c
4 changed files with 11 additions and 9 deletions

View file

@ -39,5 +39,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.2.2.4")]
[assembly: AssemblyFileVersion("1.2.2.4")]
[assembly: AssemblyVersion("1.2.2.5")]
[assembly: AssemblyFileVersion("1.2.2.5")]

View file

@ -145,7 +145,7 @@ Thanks for ideas, reporting issues and contributing!
#171 [kehoen](https://github.com/kehoen),
#186 [Dtrieb](https://github.com/Dtrieb),
#188 #189 #191 #195 [iJahangard](https://github.com/iJahangard),
#195 #197 #238 [the-phuctran](https://github.com/the-phuctran),
#195 #197 #225 #238 [the-phuctran](https://github.com/the-phuctran),
#205 [kristofzerbe](https://github.com/kristofzerbe),
#209 [jonaskohl](https://github.com/jonaskohl),
#211 [blacksparrow15](https://github.com/blacksparrow15),
@ -169,7 +169,7 @@ Thanks for ideas, reporting issues and contributing!
#285 #286 [dao-net](https://github.com/dao-net),
#288 William P.,
#294 #295 #296 Stefan Mahrer,
#297 [chip33](https://github.com/chip33),
#225 #297 [chip33](https://github.com/chip33),
Donations

View file

@ -97,12 +97,12 @@ namespace SystemTrayMenu.Helper
ab.AppMoreInfo += "Thanks for ideas, reporting issues and contributing!" + Environment.NewLine;
ab.AppMoreInfo += "#123 Mordecai00, #125 Holgermh, #135 #153 #154 #164 jakkaas, #145 Pascal Aloy, #153 #158 #160 blackcrack,";
ab.AppMoreInfo += "#162 HansieNL, #163 igorruckert, #171 kehoen, #186 Dtrieb, #188 #189 #191 #195 iJahangard, #195 #197 #238 the-phuctran, ";
ab.AppMoreInfo += "#162 HansieNL, #163 igorruckert, #171 kehoen, #186 Dtrieb, #188 #189 #191 #195 iJahangard, #195 #197 #225 #238 the-phuctran, ";
ab.AppMoreInfo += "#205 kristofzerbe, #209 jonaskohl, #211 blacksparrow15, #220 Yavuz E., #229 #230 #239 Peter O., #231 Ryonez, ";
ab.AppMoreInfo += "#235 #242 243 #247, #271 Tom, #237 Torsten S., #240 video Patrick, #244 Gunter D., #246 MACE4GITHUB, #259 vanjac, ";
ab.AppMoreInfo += "#262 terencemcdonnell, #269 petersnows25, #272 Peter M., #273 #274 ParasiteDelta, #275 #276 #278 donaldaken, ";
ab.AppMoreInfo += "#277 Jan S., #282 akuznets, #283 #284 #289 RuSieg, #285 #286 dao-net, #288 William P., #294 #295 #296 Stefan Mahrer, ";
ab.AppMoreInfo += "#297 chip33, " + Environment.NewLine;
ab.AppMoreInfo += "#225 #297 chip33, " + Environment.NewLine;
ab.AppDetailsButton = true;
ab.ShowDialog();

View file

@ -774,13 +774,15 @@ namespace SystemTrayMenu.Utilities
Handle,
IntPtr.Zero);
DllImports.NativeMethods.User32DestroyMenu(pMenu);
pMenu = IntPtr.Zero;
// First invoke menu item, then destroy menu
// (otherwise: Right click on items to choose "Send to" doesn't work #225)
if (nSelected != 0)
{
InvokeCommand(oContextMenu, nSelected, strParentFolder, pointScreen);
}
DllImports.NativeMethods.User32DestroyMenu(pMenu);
pMenu = IntPtr.Zero;
}
catch
{