Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Menu

Posted on 1998-02-11
6
Medium Priority
?
182 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

636 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