mirror of
https://github.com/electron/electron.git
synced 2026-01-11 00:18:02 -05:00
fix: use correct constants for tray icon messages (#19549)
This commit is contained in:
committed by
Samuel Attard
parent
2e785899dd
commit
e8c4e6f0b3
@@ -146,15 +146,15 @@ LRESULT CALLBACK NotifyIconHost::WndProc(HWND hwnd,
|
||||
return TRUE;
|
||||
|
||||
switch (lparam) {
|
||||
case TB_CHECKBUTTON:
|
||||
case NIN_BALLOONSHOW:
|
||||
win_icon->NotifyBalloonShow();
|
||||
return TRUE;
|
||||
|
||||
case TB_INDETERMINATE:
|
||||
case NIN_BALLOONUSERCLICK:
|
||||
win_icon->NotifyBalloonClicked();
|
||||
return TRUE;
|
||||
|
||||
case TB_HIDEBUTTON:
|
||||
case NIN_BALLOONTIMEOUT:
|
||||
win_icon->NotifyBalloonClosed();
|
||||
return TRUE;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user