Click here to Skip to main content
15,919,613 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to get font information from clipboard Pin
Rajesh R Subramanian5-Jan-06 21:36
professionalRajesh R Subramanian5-Jan-06 21:36 
AnswerRe: How to get font information from clipboard Pin
Owner drawn5-Jan-06 21:40
Owner drawn5-Jan-06 21:40 
AnswerRe: How to get font information from clipboard Pin
Michael Dunn5-Jan-06 22:40
sitebuilderMichael Dunn5-Jan-06 22:40 
GeneralRe: How to get font information from clipboard Pin
Frankdou8-Jan-06 13:56
Frankdou8-Jan-06 13:56 
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 
HOW WHAT wrote:
1.
like window caption icon
first: mouse left button down the menu popup
second: the menu not close, mouse left button down the menu close
third: goto first

i handle the WM_LBUTTONDOWN, and TrackPopupMenu a menu, but second left button down the menu close, but popup menu too.


Big Grin | :-D

HOW WHAT wrote:
how let the menu popup auto adjust popup point, like the caption menu popup.


This one's lot better.

Take a look in MSDN documentation for TrackPopupMenu. You will get a list of values for uFlags parameter. These are the ones that decide where it pops up.

It also has flags to decide whether to animate the menu or not.

Love Forgives--Love Gives--Jesus is Love Smile | :)
<marquee direction="up" height="50" scrolldelay="1" step="1" scrollamount="1" style="background-color:'#44ccff'">
--Owner Drawn
--Nothing special
--Defeat is temporary but surrender is permanent
--Never say quits
--Jesus is Lord


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 
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 

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.