Solved

Menu

Posted on 1998-02-11
6
171 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 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
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying 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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

691 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