500 pts for some good, simple, comprehensive sample code demonstrating how to get a context menu (popup menu) to appear by right clicking a taskbar icon using Visual C++ 6.0 (not MFC!). I would also appreciate it if you don't link me to a url that will expire.. I've been frustrated to see the answer to this very question posted in another forum as a link to a url whose domain has expired... ergo, a tease... Grrrrr.
What I have so far:
I can get the icon in the task bar, and I can respond to mouse events (i.e., I can do a MessageBox) just fine, but my attempts to get the popup menu to appear anywhere outside of the application window has failed. Seems the x/y coordinates I am sending are inside of the application workspace and not the desktop.
I'm tired of scraping the internet for a sample so if someone would be so kind as to help this newbie out, it's worth 500 pts. I'd throw in box of chocolates too, but I'm broke ;)