?
Solved

Menu

Posted on 1998-02-11
6
Medium Priority
?
177 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_
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 8

Accepted Solution

by:
ZifNab earned 200 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses
Course of the Month13 days, 13 hours left to enroll

800 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