I'm being a bit fussy but my programs System tray context menu does'nt work properly, I've set my context menu to WM_RBUTTONUP but all other programs use WM_RBUTTONDOWN I want to use this but when the windows displayed and i click on the icon in the systray i have to click multiple times to make the menu come up. Don't suggest SetForegroundWindow() I'm already using it, and I've sent the benign message after the TrackPopupMenu() but they don't work. If anyone has some suggestions.