quote:
Originally posted by raceprouk
Thanks Demps for PMing TazDevil, and thanks TazDevil for the info. I did have the hook looking for HCBT_ACTIVATE, but I was then doing stuff with window class names. Had I thought to compare HWNDs, I'd have sorted this problem already.
As for the menu thing, I plan to add to the menus, not remove them. Would adding menus pose a problem, like removing them?
Happy to be of some help
No adding to the menu will not cause any problems, and it it quite easy to do as well you just GetMenu(hwnd) and just add menus with InsterMenuItem() etc, then catch WM_COMMAND messages sent/posted to the contact list window proc....
that is all about it