Discussion:
TTN_SHOW with XP themes
(too old to reply)
2004-05-17 07:14:27 UTC
Permalink
Hi

I have a tooltip control. On Win 2000 and on XP with no themes I'm getting TTN_SHOW, TTN_POP and TTN_GETDISPINFO notifications. On XP with themes (and a manifest) I'm getting TTN_POP, but not TTN_SHOW or TTN_GETDISPINFO.

Why is this happening? Is there a solution?

Thanks
Ivo
2004-05-18 07:33:48 UTC
Permalink
OK, I figured out what's going on.

The window containing the tool does get TTN_SHOW and TTN_POP. In my case it was a toolbar control.
With themes disabled the toolbar forwards both messages to the parent. With themes enabled, it
only forwards TTN_POP.

There is something else happening. If my tool is lets say an edit box, it gets TTN_GETDISPINFOA
message. If the tool is a toolbar (with themes disabled) it gets TTN_GETDISPINFOW, followed by
TTN_GETDISPINFOA. It forwards the second message to its parent. If the tool is a toolbar with
themes enabled, it gets only TTN_GETDISPINFOW, which it doesn't forward. How can I get the
tooltip to send TTN_GETDISPINFOA to the toolbar? Btw, both the tooltip and the toolbar are set
to ANSI. I checked that by calling CCM_GETUNICODEFORMAT inside my TTN_GETDISPINFOW
handler.

Can someone make sense of this madness??!

Ivo



"Ivo" <ivo> wrote in message news:hvSdneB0zp7E-zXdRVn-***@adelphia.com...
Hi

I have a tooltip control. On Win 2000 and on XP with no themes I'm getting TTN_SHOW, TTN_POP and TTN_GETDISPINFO notifications. On XP with themes (and a manifest) I'm getting TTN_POP, but not TTN_SHOW or TTN_GETDISPINFO.

Why is this happening? Is there a solution?

Thanks
Ivo

Loading...