Mercurial > dwindows
comparison win/dw.c @ 2108:35abef6e33a9
Win: Fixed the notification callback when clicking the toast.
Currently, the toast isn't clickable once it moves into the action center.
This is a known issue with WinToast, because once the toast moves into the
action center, it requires a COM notificaiton object be registered.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Wed, 17 Jun 2020 03:38:21 +0000 |
parents | 6e55c6f8d816 |
children | 251d050d306b |
comparison
equal
deleted
inserted
replaced
2107:b71f46cd58b9 | 2108:35abef6e33a9 |
---|---|
2012 if (result == -1) | 2012 if (result == -1) |
2013 { | 2013 { |
2014 /* Find any callbacks for this function */ | 2014 /* Find any callbacks for this function */ |
2015 while (tmp) | 2015 while (tmp) |
2016 { | 2016 { |
2017 if (tmp->message == msg || msg == WM_COMMAND || msg == WM_NOTIFY || tmp->message == WM_USER+1) | 2017 if (tmp->message == msg || msg == WM_COMMAND || msg == WM_NOTIFY || tmp->message == WM_USER+1 || msg == WM_USER+102) |
2018 { | 2018 { |
2019 switch (msg) | 2019 switch (msg) |
2020 { | 2020 { |
2021 case WM_TIMER: | 2021 case WM_TIMER: |
2022 { | 2022 { |