Click here to Skip to main content
15,995,072 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhow to do like this popup menu Pin
HOW WHAT5-Jan-06 21:17
HOW WHAT5-Jan-06 21:17 
AnswerRe: uhow to do like this popup menu Pin
Sebastian Schneider5-Jan-06 21:31
Sebastian Schneider5-Jan-06 21:31 
GeneralRe: uhow to do like this popup menu Pin
HOW WHAT5-Jan-06 22:41
HOW WHAT5-Jan-06 22:41 
AnswerRe: uhow to do like this popup menu Pin
Owner drawn5-Jan-06 21:58
Owner drawn5-Jan-06 21:58 
GeneralRe: uhow to do like this popup menu Pin
HOW WHAT5-Jan-06 22:27
HOW WHAT5-Jan-06 22:27 
AnswerRe: how to do like this popup menu Pin
khan++5-Jan-06 23:16
khan++5-Jan-06 23:16 
GeneralRe: how to do like this popup menu Pin
HOW WHAT5-Jan-06 23:35
HOW WHAT5-Jan-06 23:35 
GeneralRe: how to do like this popup menu Pin
khan++6-Jan-06 0:05
khan++6-Jan-06 0:05 
Now I think I know what you mean.
You want to dismiss the popup sys-menu when the user clicks in the area again, 'when the menu is showing'.

I don't how to do that, but you could search on that: "dismiss sys-menu" or "How to find out if the sys-menu is visible". I am too lazy right now.

Or you could remove the Title-bar from the application, and custom-draw the Title-bar yourself. Then it would be very easy to handle the menu stuff.

Try the following: (If it is even possible ??)
You could set a variable to true when the sys-menu shows, and set it to false when window loses focus, or user clicks somewhere else, or uses the keyboard to dismiss the menu etc. Now if the user clicks again, then check that variable. If it is already true, then try to close the menu using some technique. (You have to first be able to tell whether the sysmenu is showing or not to continue on this path. Then later find some way to dismiss it).


this is this.
QuestionHow to close this one? Pin
Eytukan5-Jan-06 20:58
Eytukan5-Jan-06 20:58 
AnswerRe: How to close this one? Pin
Anilkumar K V5-Jan-06 21:12
Anilkumar K V5-Jan-06 21:12 
GeneralRe: How to close this one? Pin
Eytukan5-Jan-06 22:03
Eytukan5-Jan-06 22:03 
GeneralRe: How to close this one? Pin
Owner drawn5-Jan-06 22:31
Owner drawn5-Jan-06 22:31 
GeneralRe: How to close this one? Pin
Eytukan5-Jan-06 22:46
Eytukan5-Jan-06 22:46 
AnswerRe: How to close this one? Pin
Prakash Nadar5-Jan-06 21:29
Prakash Nadar5-Jan-06 21:29 
GeneralRe: How to close this one? Pin
<color>Aljechin 5-Jan-06 21:32
<color>Aljechin 5-Jan-06 21:32 
GeneralRe: How to close this one? Pin
Eytukan5-Jan-06 22:01
Eytukan5-Jan-06 22:01 
AnswerRe: How to close this one? Pin
khan++5-Jan-06 23:01
khan++5-Jan-06 23:01 
GeneralRe: How to close this one? Pin
Eytukan5-Jan-06 23:04
Eytukan5-Jan-06 23:04 
GeneralRe: How to close this one? Pin
vikas amin6-Jan-06 0:02
vikas amin6-Jan-06 0:02 
QuestionRe: How to close this one? Pin
David Crow6-Jan-06 5:01
David Crow6-Jan-06 5:01 
AnswerRe: How to close this one? Pin
Eytukan8-Jan-06 20:17
Eytukan8-Jan-06 20:17 
GeneralRe: How to close this one? Pin
David Crow9-Jan-06 4:06
David Crow9-Jan-06 4:06 
GeneralRe: How to close this one? Pin
Eytukan9-Jan-06 4:14
Eytukan9-Jan-06 4:14 
Questionwrite avifile using DirectShow Pin
P e t e r5-Jan-06 20:52
P e t e r5-Jan-06 20:52 
QuestionHow to set my result again to editbox Pin
Yuwraj5-Jan-06 20:28
Yuwraj5-Jan-06 20:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.