mirror of
https://github.com/kangyu-california/PersistentWindows.git
synced 2025-05-11 13:05:38 +02:00
force update pw icon by hide and then show it
This commit is contained in:
parent
41603fd49e
commit
ea555b45b8
3 changed files with 13 additions and 7 deletions
|
@ -43,7 +43,7 @@ namespace PersistentWindows.SystrayShell
|
|||
User32.KeyModifier modifier = (User32.KeyModifier)((int)m.LParam & 0xFFFF); // The modifier of the hotkey that was pressed.
|
||||
int id = m.WParam.ToInt32(); // The id of the hotkey that was pressed.
|
||||
|
||||
Program.ShowRestoreTip();
|
||||
Program.HideRestoreTip(false); //hide icon
|
||||
Program.HideRestoreTip(); //show icon
|
||||
hkwin.HotKeyPressed();
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue