Tool Tip Weirdness
-
I am experiencing a very strange problem. When my MFC app is run, all of the Tool Tips in our program, as well as all Windows Tool Tips show the tip of the *last* tool that was hovered over. Here is what happens upon program launch. * The first toolbar button that I hover over doesn't get drawn. Actually, it's shadow gets drawn, but the tip itself doesn't draw. * The next toolbar button that I hover over gets drawn with the text of the first button that I hovered over. * The width of the Tool Tip is wide enough for the text of the "correct" text, not the width of the "incorrect" text which is being displayed. * This goes on and on until you hover off of a button onto some dead space, and then hover over it again, in which case, it will show the correct tip, but goes wacky again once you hover over another button. * All Tool Tips on the system get screwed up like this until the app is shut down. Thus, there seems to be a "lag" or mismatch bewteen what is being displayed and what the correct tip should be. To try and get to the bottom of this problem, I have commented out all Tool Tip related code from my app, including Tool Tip flags passed to controls such as Tree controls, etc. I have also tried commenting out any other "non-standard" things that I am doing. All of my users are experiencing this. I have tried creating a new blank app using AppWizard, but could not duplicate the problem. Does anyone know what this might be related to, or what I might have done wrong to screw things up? If not, does anyone have any info on how to debug something like this, or where I can even trace/step through the code to find out what is going wrong and where. Thanks Dario