mirror of
https://github.com/kangyu-california/PersistentWindows.git
synced 2025-05-11 13:05:38 +02:00
solve mystery failure to popout menu
This commit is contained in:
parent
25f6558ca2
commit
14122b8e0f
3 changed files with 6 additions and 6 deletions
|
@ -18,6 +18,7 @@ namespace PersistentWindows.SystrayShell
|
|||
messageLoop = new Thread(() =>
|
||||
{
|
||||
HotKeyForm hkf = new HotKeyForm(hotkey);
|
||||
hkwin = new HotKeyWindow(hotkey);
|
||||
Application.Run(hkf);
|
||||
})
|
||||
{
|
||||
|
@ -43,8 +44,6 @@ namespace PersistentWindows.SystrayShell
|
|||
|
||||
public HotKeyForm(uint hotkey)
|
||||
{
|
||||
hkwin = new HotKeyWindow(hotkey);
|
||||
|
||||
//InitializeComponent();
|
||||
var r = User32.RegisterHotKey(this.Handle, 0, (int)User32.KeyModifier.Alt, hotkey); // Register Alt + W
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue