Page 1 of 1

How to get tooltip displayed

Posted: Wed Sep 23, 2009 03:12
by singbol
I've setDefaultToolTip("TaharezLook/Tooltip"),and in the CELayoutEditor, I filled the tooltip property with some text, but I can't get these text displayed when I put my mouse cursor on the window.What should I do? :)

Thanks in advance!

Re: How to get tooltip displayed

Posted: Wed Sep 23, 2009 08:53
by CrazyEddie
I'm not sure if you mean in the editor in in your app. :) Presumably you mean in your app, though, so in this case you have to ensure you're correctly injecting time pulses via the System::injectTimePulse function.

CE.

Re: How to get tooltip displayed

Posted: Wed Sep 23, 2009 08:57
by singbol
:D
At last, one of my friend give me the right answer, just add CEGUI::System::getDefaultTooltip()->update(...)
Thanks to Eddie, too.