Click here to Skip to main content
15,914,371 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to add a library to IDE or What exactly it means adding a library to IDE ?? Pin
jschell13-Sep-12 8:23
jschell13-Sep-12 8:23 
GeneralRe: How to add a library to IDE or What exactly it means adding a library to IDE ?? Pin
SanjeevCharla13-Sep-12 16:05
SanjeevCharla13-Sep-12 16:05 
GeneralRe: How to add a library to IDE or What exactly it means adding a library to IDE ?? Pin
jschell14-Sep-12 8:49
jschell14-Sep-12 8:49 
QuestionUse of Multiple Check boxes in MFC Pin
jawadali47712-Sep-12 20:12
jawadali47712-Sep-12 20:12 
SuggestionRe: Use of Multiple Check boxes in MFC Pin
sanjaylk12-Sep-12 20:35
sanjaylk12-Sep-12 20:35 
GeneralRe: Use of Multiple Check boxes in MFC Pin
jawadali47712-Sep-12 21:20
jawadali47712-Sep-12 21:20 
GeneralRe: Use of Multiple Check boxes in MFC Pin
David Crow13-Sep-12 3:31
David Crow13-Sep-12 3:31 
QuestionTool tips on Status bar created on a dialog Pin
Craig Hewitt12-Sep-12 19:00
professionalCraig Hewitt12-Sep-12 19:00 
Hello All!

I have been tasked with writing a dialog based application that must include a menu, tool bar and status bar. Being CFormView based is not an option. I have everything working beautifully except 2 items:
1. Tool tips do not display correctly on the status bar panes.
2. I need to resize the dialog once the tool bar or status bar are turned off.

I only need help with #1 as I have not even worked on #2 yet.

I have a normal CStatusBar derived from a class described here:
http://msdn.microsoft.com/en-us/library/ccstww6w(v=vs.71).aspx[^]

The dialog has a base class as described here:
http://msdn.microsoft.com/en-us/library/ccstww6w(v=vs.80).aspx[^]

What happens when hovering over any of the status bar panes is you get a tool tip centered horizontally over the status bar that simply says "Toggle Status Bar". I am seeing the TTN_NEEDTEXT message fire with control ID 59393 which is AFX_IDW_STATUS_BAR.

All of the update commands, tool tips and message strings work for the menus and tool bars as well as the update handlers for the status bar, it is just the tool tips for the status bar that do not work.

Any help is greatly appreciated.

Craig

modified 13-Sep-12 1:43am.

AnswerRe: Tool tips on Status bar created on a dialog Pin
Jochen Arndt12-Sep-12 21:30
professionalJochen Arndt12-Sep-12 21:30 
Questionend winword.exe by c++ Pin
kesten112-Sep-12 7:22
kesten112-Sep-12 7:22 
AnswerRe: end winword.exe by c++ Pin
pasztorpisti12-Sep-12 7:31
pasztorpisti12-Sep-12 7:31 
GeneralRe: end winword.exe by c++ Pin
kesten112-Sep-12 7:55
kesten112-Sep-12 7:55 
GeneralRe: end winword.exe by c++ Pin
pasztorpisti12-Sep-12 8:10
pasztorpisti12-Sep-12 8:10 
QuestionRe: end winword.exe by c++ Pin
David Crow12-Sep-12 10:19
David Crow12-Sep-12 10:19 
QuestionCDHTMLDialog Control HTML Body Size! Pin
Kevin Arnold12-Sep-12 3:37
Kevin Arnold12-Sep-12 3:37 
AnswerRe: CDHTMLDialog Control HTML Body Size! Pin
Kevin Arnold13-Sep-12 18:03
Kevin Arnold13-Sep-12 18:03 
Questionusing static library for C code in Visual studio 2005 Pin
sunny_vc12-Sep-12 1:12
sunny_vc12-Sep-12 1:12 
AnswerRe: using static library for C code in Visual studio 2005 Pin
pasztorpisti12-Sep-12 2:03
pasztorpisti12-Sep-12 2:03 
AnswerRe: using static library for C code in Visual studio 2005 Pin
Malli_S12-Sep-12 2:04
Malli_S12-Sep-12 2:04 
GeneralRe: using static library for C code in Visual studio 2005 Pin
sunny_vc12-Sep-12 2:12
sunny_vc12-Sep-12 2:12 
AnswerRe: using static library for C code in Visual studio 2005 Pin
Malli_S12-Sep-12 2:16
Malli_S12-Sep-12 2:16 
GeneralRe: using static library for C code in Visual studio 2005 Pin
Chris Losinger12-Sep-12 2:15
professionalChris Losinger12-Sep-12 2:15 
GeneralRe: using static library for C code in Visual studio 2005 Pin
Malli_S12-Sep-12 2:17
Malli_S12-Sep-12 2:17 
GeneralRe: using static library for C code in Visual studio 2005 Pin
Chris Losinger12-Sep-12 2:19
professionalChris Losinger12-Sep-12 2:19 
GeneralRe: using static library for C code in Visual studio 2005 Pin
Malli_S12-Sep-12 2:23
Malli_S12-Sep-12 2:23 

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.