Click here to Skip to main content
15,921,212 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: A notepad-like class... Pin
Mr.Freeze27-Oct-02 17:10
Mr.Freeze27-Oct-02 17:10 
Generalstupid beginner Pin
Anonymous27-Oct-02 13:33
Anonymous27-Oct-02 13:33 
GeneralRe: stupid beginner Pin
Maximilien27-Oct-02 13:59
Maximilien27-Oct-02 13:59 
GeneralRe: stupid beginner Pin
Anonymous27-Oct-02 14:05
Anonymous27-Oct-02 14:05 
GeneralRe: stupid beginner Pin
Christian Graus27-Oct-02 14:21
protectorChristian Graus27-Oct-02 14:21 
GeneralRe: stupid beginner Pin
Anonymous27-Oct-02 17:32
Anonymous27-Oct-02 17:32 
GeneralRe: stupid beginner Pin
Christian Graus27-Oct-02 17:34
protectorChristian Graus27-Oct-02 17:34 
GeneralEnableToolTips for view (doc/view) affects main toolbar tooltips!? :\ Pin
Janeko27-Oct-02 12:59
Janeko27-Oct-02 12:59 
Hi.
I found weird problem with tooltips. Help needed.
Here it is:
I added tooltips to my TreeView in my MDI Doc/View application. I didn't use TVS_INFOTIP tree style because such tooltips are hardly customizable. Insead, I enabled tooltpis for my treeview window (with EnableToolTips() method called during tree creation time), overrode OnToolHitTest and handled TTN_NEEDTEXTW/TTN_NEEDTEXTA messages (following codeguru/codeproject/msdn examples) - everything is OK with the tree tooltips.

BUT:
I noticed that sometimes, when I move mouse over main toolbar of application - tooltip for the toolbar button (file new/file open etc.) is not displayed!
My investigation proved that it's the EnableToolTips method's fault (I'm pretty sure of it).
Overriding OnToolHitTest or way of handling TTN_NEEDTEXTW/TTN_NEEDTEXTA messages has nothing to do with it.
I wrote simple MDI aplication that has only one view and does nothing except calling EnableToolTips() - in such application the same occurs. Tooltips for toolbar buttons sometimes are not displayed. When I remove EnableToolTips() call - everything backs to normal.

I even called EnableToolTips(FALSE) for treeview each time the mouse leaves treeview area - but it didn't help. Once EnableToolTips() is called during creation time of treeview, the problem with toolbar's tooltips appears and cannot be dealed with any subsequent (*after* creation of the tree) EnableToolTips(FALSE) call.

How may I cause the toolbar tooltips to be displayed always when they're supposed to?
(I'm afraid creating own toolbars may not help)

Thanks for any help.

GeneralCDockContext Pin
MaTrIX2k227-Oct-02 11:50
MaTrIX2k227-Oct-02 11:50 
Generalconsole app disappearing VS.NET Pin
User 814727-Oct-02 11:02
User 814727-Oct-02 11:02 
GeneralListBox Characteristics Pin
Ayush27-Oct-02 9:03
Ayush27-Oct-02 9:03 
GeneralRe: ListBox Characteristics Pin
Ravi Bhavnani27-Oct-02 9:36
professionalRavi Bhavnani27-Oct-02 9:36 
QuestionHow it Possible.? Pin
Renjith Ramachandran27-Oct-02 7:01
Renjith Ramachandran27-Oct-02 7:01 
Generalproblems with changing list items' image icon Pin
Matias27-Oct-02 6:29
Matias27-Oct-02 6:29 
GeneralRe: problems with changing list items' image icon Pin
Chris Losinger27-Oct-02 7:00
professionalChris Losinger27-Oct-02 7:00 
GeneralRe: problems with changing list items' image icon Pin
Matias27-Oct-02 7:06
Matias27-Oct-02 7:06 
GeneralRe: problems with changing list items' image icon Pin
peterchen27-Oct-02 7:29
peterchen27-Oct-02 7:29 
GeneralRe: problems with changing list items' image icon Pin
Matias27-Oct-02 7:39
Matias27-Oct-02 7:39 
Questionfor (; !Free; ) ; ???? Pin
tongc27-Oct-02 5:51
tongc27-Oct-02 5:51 
AnswerRe: for (; !Free; ) ; ???? Pin
Chris Losinger27-Oct-02 6:25
professionalChris Losinger27-Oct-02 6:25 
AnswerRe: for (; !Free; ) ; ???? Pin
Joaquín M López Muñoz27-Oct-02 10:56
Joaquín M López Muñoz27-Oct-02 10:56 
GeneralRe: for (; !Free; ) ; ???? Pin
tongc27-Oct-02 11:18
tongc27-Oct-02 11:18 
AnswerRe: for (; !Free; ) ; ???? Pin
ian mariano27-Oct-02 21:51
ian mariano27-Oct-02 21:51 
QuestionHelp! LNK2005 Error? Pin
Dean_Lee27-Oct-02 4:35
Dean_Lee27-Oct-02 4:35 
AnswerRe: Help! LNK2005 Error? Pin
Chris Losinger27-Oct-02 4:50
professionalChris Losinger27-Oct-02 4:50 

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.