Solved

Menu

Posted on 1998-02-11
6
166 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
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

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 The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

830 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