|
yap Toolbar popupmenu
How Can I do this ?
is there any example for that ?
Prabhat Singh
|
|
|
|
|
pls help me to solve my problem.
Prabhat Singh
|
|
|
|
|
Prabhat.Singh wrote: pls help me to solve my problem.
Pls be clear about what your problem *is*.
Do you have a toolbar?
Do you have a handler that is run when a button is pressed?
Have you make a popupmenu? (hint: TrackPopupMenu).
Have you written a handler for WM_INITMENU?
The answers to those all need to be "Yes" before you need further help.
I've already said putting a tooltip next to a menu that has popped up is very hard, and you should use some other way of giving feedback to the user. MFC uses the status bar for it. If they're not clever enough to put a tooltip next to the menu, then neither are you - or me.
Iain.
Plz sir... CPallini CPallini abuz drugz, plz plz help urgent.
|
|
|
|
|
His head may explode now.
|
|
|
|
|
Greetings.
--------
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
“The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson
|
|
|
|
|
Yes Sir I am having Toolbar which have Button when I press button Popupmenu create .
Sir I am able to display a tooltip on Toolbar Button , But tooltip is not display on Menu item.
I used TTN_NEEDTEXT for Tooltip.
Prabhat Singh
|
|
|
|
|
This is the last time I repeat myself.
When the mouse moves about the menu, a WM_MENUSELECT is passed to the window handle specified in the TrackPopupMenu function. (You are using this function? I know of no MagicMenuButton controls in standard Win32).
Handle that message, and display text somewhere.
If you start popping up windows, then that may mess up the menu message loop. I take the fact that the clever people at microsoft, who are (hopefully) better programmers than either of us, use the status bar for menu help text as a very strong hint that putting tooltips up is (a) a bad idea, (b) very hard.
Menus are a very opaque part of windows, as they have lots of strange behaviours that date back to Windows 1.0...
Try putting a static control on your dialog, or the status bar, and display the help text there.
Bye,
Iain.
Plz sir... CPallini CPallini abuz drugz, plz plz help urgent.
|
|
|
|
|
Oh, one more thing. Perhaps I have more important things to do with my time than helping you? Unless you give me money, I don't provide a 11 minute response time.
The problem may be important to you, and helps you pay your mortgage. It doesn't pay mine.
Patience, young padawan.
Iain.
Plz sir... CPallini CPallini abuz drugz, plz plz help urgent.
|
|
|
|
|
Iain Clarke wrote: Patience, young padawan
Yes master. May the force be with you - always.
|
|
|
|
|
Prabhat.Singh wrote: Hi Create a Tooltip for dropdown menu using Win32
No, I won't.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
Next task?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
Trace it and find problems and exceptions,but early.
|
|
|
|
|
|
I'm too gullible!
I even followed your link, expecting a webpage saying "Yeah, right, do your own work, or such..."
I didn't find any bugs in your code though!
Iain.
Plz sir... CPallini CPallini abuz drugz, plz plz help urgent.
|
|
|
|
|
Iain Clarke wrote: I'm too gullible!
Iain Clarke wrote: I didn't find any bugs in your code though!
Now my website is certificated by Iain Clarke!
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
Reminds me of this post:
http://successfulsoftware.net/2007/08/16/the-software-awards-scam/[^]
The author subitted a text file with "award me stars", renamed to awardmestars.exe to shareware sites, and got lots of awards...
And some very funny comments to his blog post.
Iain
Plz sir... CPallini CPallini abuz drugz, plz plz help urgent.
|
|
|
|
|
Really funny.
Now my website needs that awards too: definitely!
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
Plzz sir writz free codz for me.
|
|
|
|
|
hi can u gime da link of the code for it. my program has problems and error. can u solve it sir. as alwyz tank u in advanz.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
Askz CPallini. Haz good linkz.
|
|
|
|
|
tank you veri mutch for da uzufl info sir.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
|
Dont worry if your programs has problem its their problem not you,best way is delete that project.
|
|
|
|
|
tank??? arjun or t72
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|