I'm making WinAPI programs in C++, and for this one, I have have to send a beep everytime the start menu is displayed (NOT the start menu being clicked). I figured I would use the beep(3500,500) function, but I still need to know how I can tell if the start menu is displayed. Here is what I have thought as an outline.

if(*start menu is displayed*)
{
beep(3500,500);
}


Any advice on this? I tried to search for this in MSDN, but no luck.