MFC modeless dialog dll can't show tooltips normally

  • Thread starter Thread starter JuliaQQ
  • Start date Start date
J

JuliaQQ

Guest
Hello,

I met a question about the tooltips in modeless dialog dll.

I use the method to set a hook in my dll. MSDN Link:"The TAB key doesnt move input focus from one control to another. Pressing the arrow keys or accelerator keys in the modeless dialog box or propertysheet window has no effect."

But the result cannt meet my requirement. The tool tip just show a flash, not more then one second. I want them as model dialogs tooltips do. when the mouse leave the tool tips disappear.

I have try all methods I thought which could fix it, but in vain. Such as "Sleep(100)".

Maybe the hook interrupt by Onpaint()? I dont know.

I have no idea about what is the problem. Could you tell me what the problem is?

Thank you very much in advance.

Continue reading...
 
Back
Top