|
-
November 6th, 2008, 07:46 PM
#1
Start Menu Displayed?
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.
-
November 6th, 2008, 10:13 PM
#2
Re: Start Menu Displayed?
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"????
TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
2008, 2009,2010
In theory, there is no difference between theory and practice; in practice there is.
* Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions 
* How NOT to post a question here
* Of course you read this carefully before you posted
* Need homework help? Read this first
-
November 7th, 2008, 08:01 AM
#3
Re: Start Menu Displayed?
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-wind...ogrammer.win32
where it 's a classic question...
-
November 7th, 2008, 05:43 PM
#4
Re: Start Menu Displayed?
 Originally Posted by Laurentis
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?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|