Click to See Complete Forum and Search --> : Start Menu Displayed?


shadowx360
November 6th, 2008, 06:46 PM
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.

TheCPUWizard
November 6th, 2008, 09:13 PM
There is NO event for detecting this, so you would have to poll...At this point it becomes a simple "Window detector", and there are lots of samples on that....

But I am very curious.... WHO ever came up with this "requirement"????

Laurentis
November 7th, 2008, 07:01 AM
Of course there are several events generated by the system for Start Menu !
You can ask on Adv. Win32 api newsgroup :
news://194.177.96.26/comp.os.ms-windows.programmer.win32
where it 's a classic question...

shadowx360
November 7th, 2008, 04:43 PM
Of course there are several events generated by the system for Start Menu !
You can ask on Adv. Win32 api newsgroup :
news://194.177.96.26/comp.os.ms-windows.programmer.win32
where it 's a classic question...

Ok, I can read the topics, but I can't make a new one, my news reader says "No sender specified; check account settings." How can I register for this to make a new topic?