Forum
Please
Log In
to post a new message or reply to an existing one. If you are not registered, please
register.
NOTE: Some forums may be read-only if you are not currently subscribed to
our technical support services.
Subject |
Author |
Date |
|
tera tera
|
Feb 17, 2009 - 1:26 AM
|
Hello. When I clicked a menu , I want to display the dialogue in top-level.
|
|
Technical Support
|
Feb 17, 2009 - 1:57 PM
|
There is no menu on your screen shot. Please provide us with where you want to display a menu? Is it a context menu?
We guess you want to display a menu when the custom drawn caption button is clicked. If yes, then you should handle the WM_NCLBUTTONDOWN message, detect whether non-client area is clicked inside the custom drawn caption button and display the context menu. You should invoke the handler method of the parent class if the non-client area is clicked anywhere else outside the custom drawn button.
|
|