I am writing application which establishes shell hooks to get shell events (I am using C# if it matters). I am using this example: http://msbob.spaces.live.com/blog/cns!DAFD19BC5D669D8F!132.entry
Hook is working fine but I do not receive message on which I am interested: HSHELL_WINDOWACTIVATED (all other window-related events work well). Instead I am receiving message with code 32772 which should be HSHELL_RUDEAPPACTIVATED (some googling helped).
But I can't understand why I am not receiving HSHELL_WINDOWACTIVATED at all and what this HSHELL_RUDEAPPACTIVATED message means. MSDN does not have any mention of it. Can anybody explain it to me?