It seems like clicking any Windows notification (i.e. not just Chrome) causes the window procedure to be called with WM_HOTKEY. However, this is the case only if the vk argument to the RegisterHotKey call is zero. Zero isn't a valid Virtual Key Code so we shouldn't call the function at all in the first place.
Fixes #85.
It seems like clicking any Windows notification (i.e. not just Chrome) causes the window procedure to be called with
WM_HOTKEY
. However, this is the case only if thevk
argument to theRegisterHotKey
call is zero. Zero isn't a valid Virtual Key Code so we shouldn't call the function at all in the first place.