Click here to Skip to main content
15,913,836 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Create Tooltip on Toolbar using Win32 Pin
Iain Clarke, Warrior Programmer16-May-08 0:42
Iain Clarke, Warrior Programmer16-May-08 0:42 
GeneralRe: Create Tooltip on Toolbar using Win32 Pin
Dabara16-May-08 0:50
Dabara16-May-08 0:50 
GeneralRe: Create Tooltip on Toolbar using Win32 Pin
Dabara16-May-08 1:02
Dabara16-May-08 1:02 
GeneralRe: Create Tooltip on Toolbar using Win32 Pin
Iain Clarke, Warrior Programmer16-May-08 1:12
Iain Clarke, Warrior Programmer16-May-08 1:12 
GeneralRe: Create Tooltip on Toolbar using Win32 Pin
Michael Schubert16-May-08 1:17
Michael Schubert16-May-08 1:17 
GeneralRe: Create Tooltip on Toolbar using Win32 Pin
Nelek16-May-08 1:31
protectorNelek16-May-08 1:31 
GeneralRe: Create Tooltip on Toolbar using Win32 Pin
Dabara16-May-08 1:42
Dabara16-May-08 1:42 
GeneralRe: Create Tooltip on Toolbar using Win32 Pin
Iain Clarke, Warrior Programmer16-May-08 1:52
Iain Clarke, Warrior Programmer16-May-08 1:52 
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.

RantRe: Create Tooltip on Toolbar using Win32 Pin
Iain Clarke, Warrior Programmer16-May-08 1:14
Iain Clarke, Warrior Programmer16-May-08 1:14 
GeneralRe: Create Tooltip on Toolbar using Win32 Pin
Michael Schubert16-May-08 1:19
Michael Schubert16-May-08 1:19 
JokeRe: Create Tooltip on Toolbar using Win32 Pin
Rajesh R Subramanian16-May-08 0:17
professionalRajesh R Subramanian16-May-08 0:17 
AnswerDone. Pin
CPallini16-May-08 0:54
mveCPallini16-May-08 0:54 
GeneralRe: Done. Pin
Rajesh R Subramanian16-May-08 0:57
professionalRajesh R Subramanian16-May-08 0:57 
GeneralRe: Done. Pin
Hamid_RT16-May-08 0:59
Hamid_RT16-May-08 0:59 
RantRe: Done. Pin
CPallini16-May-08 1:07
mveCPallini16-May-08 1:07 
GeneralRe: Done. Pin
Iain Clarke, Warrior Programmer16-May-08 1:08
Iain Clarke, Warrior Programmer16-May-08 1:08 
GeneralRe: Done. Pin
CPallini16-May-08 1:54
mveCPallini16-May-08 1:54 
GeneralRe: Done. Pin
Iain Clarke, Warrior Programmer16-May-08 2:13
Iain Clarke, Warrior Programmer16-May-08 2:13 
GeneralRe: Done. Pin
CPallini16-May-08 2:17
mveCPallini16-May-08 2:17 
GeneralRe: Done. Pin
Michael Schubert16-May-08 1:09
Michael Schubert16-May-08 1:09 
JokeRe: Done. Pin
Rajesh R Subramanian16-May-08 1:25
professionalRajesh R Subramanian16-May-08 1:25 
GeneralRe: Done. Pin
Michael Schubert16-May-08 1:29
Michael Schubert16-May-08 1:29 
GeneralRe: Done. Pin
Rajesh R Subramanian16-May-08 1:49
professionalRajesh R Subramanian16-May-08 1:49 
GeneralRe: Done. Pin
Michael Schubert16-May-08 2:09
Michael Schubert16-May-08 2:09 
JokeRe: Done. Pin
Hamid_RT16-May-08 1:32
Hamid_RT16-May-08 1:32 

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.