Skip to content

Commit

Permalink
Turns out Scroll-Lock is used, chaging to Pause key
Browse files Browse the repository at this point in the history
  • Loading branch information
pablocastro committed Oct 29, 2020
1 parent 7dba7f4 commit fd71811
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion minimute.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,11 @@ void SetupNotifyIconData(NOTIFYICONDATA &iconData, HWND hWnd, bool muted)
StringCchCopy(iconData.szTip, sizeof(iconData.szTip) / sizeof(TCHAR), muted ? "Muted" : "Unmuted");
}

void NotifyIconToast()
{

}

bool SetNotifyIcon(HINSTANCE hInstance, HWND hWnd, bool muted)
{
NOTIFYICONDATA iconData;
Expand All @@ -180,7 +185,7 @@ int __stdcall main()
(hWnd = CreateNotifyWindow(hInstance)) != NULL &&
InitializeNotifyIcon(hInstance, hWnd))
{
if (RegisterHotKey(NULL, 1, 0, VK_SCROLL))
if (RegisterHotKey(NULL, 1, 0, VK_PAUSE))
{
SetNotifyIcon(hInstance, hWnd, Muted());

Expand Down

0 comments on commit fd71811

Please sign in to comment.