Lisa
Thu Oct 04 08:23:24 PDT 2007
Embedding control id in html as you suggested did not work.
It does not generate WM_COMMAND setting. ;(
Lisa
"Vinod" <vinodkumarpr@gmail.com> wrote in message
news:1191470165.087466.80400@w3g2000hsg.googlegroups.com...
> On Oct 3, 11:22 pm, "Lisa Pearlson" <n...@spam.plz> wrote:
>> SHNotificationAdd takes message as HTML.
>>
>> SHNOTIFICATIONDATA sn = {0};
>> sn.pszHTML = TEXT("<input type=\"button\" name=\"button1\" value=\"press
>> me\" />");
>>
>> How can I catch button or hyperlink event being tapped?
>>
>> Lisa
>
> sn.pszHTML = TEXT("<input type=\"button\" name=\"button1:100\" value=
> \"press me\" />");
>
> Window Handle passed to SHNotificationAdd function will receive
> WM_COMMAND message with control id as 100.
>
> Another way is to implement "IShellNotificationCallback". Check this
> MSDN link
http://msdn2.microsoft.com/en-us/library/aa458046.aspx
>