fix: use correct constants for tray icon messages (#19549)
This commit is contained in:
parent
2e785899dd
commit
e8c4e6f0b3
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue