Well, then prepare a very small test project that can reproduce the problem and post here in zip archive (do not include .ncb, .aps, .opt files nor Debug / Release folders)
BTW, what is the OS on your PC?
Printable View
Well, then prepare a very small test project that can reproduce the problem and post here in zip archive (do not include .ncb, .aps, .opt files nor Debug / Release folders)
BTW, what is the OS on your PC?
BTW, I have now tested with the CDialogBar derived class in MDI and overriden SetStatusText in the CDialogBar derived class does work as expected!
So it is for sure some problem with your DialogBar implementation.
I have win xp und win 7. The test was under win xp.
Now, I set a breakpoint in CFrameWnd::GetMessageString to see the call stack.
I see that my cdialogbar-class is not invoked.
CControlBar::OnTimer calls CControlBar::SetStatusText.
It is strange for me.
1. I did my both tests in Win XP SP3 with VC++6.0 with SP6.
2. Please, reread my post#16!
No problem!
thx you Victor.
OK, it works.
After looking at your project, I also created a new project and added my Dialogbar-class. It also works (SetStatusText is called)!
I think, that means that the problem is not in the class itself but in the framework.
Any ideas where to look at?
Search for the bugs in your code!
Framework works good since more than 17 years!
I already mentioned that if you need help in bug-fixing in your code - post a small project that reproduces your problems.
If you do NOT need any further help - feel free to mark this thread as resolved and finish the discussion.