Solved

Menu

Posted on 1998-02-11
6
157 Views
Last Modified: 2010-04-04
What I need real bad is a message opposite to wm_initmenupopup. Like
when popup menu (any submenu) is being closed. Is there any undocumented???
0
Comment
Question by:_art_
  • 3
  • 3
6 Comments
 
LVL 8

Accepted Solution

by:
ZifNab earned 50 total points
ID: 1358994
Hi _art_,

WM_MENUSELECT is the one you need.

Remarks

If the fuFlags parameter contains 0xFFFF and the hmenu parameter contains NULL, Windows has closed the menu because the user pressed the ESC key or clicked outside

You can find the whole discription in delphi help.
Regards,
Zif.
0
 

Author Comment

by:_art_
ID: 1358995
How to check it??????????????????????? 0xFFFF????????????????

0
 
LVL 8

Expert Comment

by:ZifNab
ID: 1358996
I believe you can check fuflags = $FFFF or what do you need to know?
0
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 

Author Comment

by:_art_
ID: 1358997
Well I fixed my problem. Was it hard!!! :-) The method you've
suggested didn't help me because it works fine only for popup
menu itself but not for submenus of any menu item (what I have been having problems with). And as you know WM_INITMENUPOPUP
occurs in both cases...
Thanks anyway!

0
 
LVL 8

Expert Comment

by:ZifNab
ID: 1358998
I'm sorry about that the solution I gave you wasn't correct. But, glad the problem is solved. How did you solve it then? May I ask whay you need these messages?
0
 

Author Comment

by:_art_
ID: 1358999
I'll write you about that in a few days. Very busy right now...
So far you can check out my homepage at

http://www.ukrcom.kherson.ua/~art/delphi.html

I'll release (likely tomorrow) new version of CoolMenus with possibility to play AVI clips within the menu items! It is very hot.
Details on the WWW address I gave you above.

Thanks!

0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now