Report message to a moderator
#include <CtrlLib/CtrlLib.h> using namespace Upp; class ToolTipEx : public TopWindow { ToolTip tip; public: ToolTipEx() { tip.Set("\1Hello [*@3 World]"); } void LeftDown(Point p, dword keyflags) { if(!tip.IsOpen()) tip.PopUp(this, p, true); else tip.Close(); } }; GUI_APP_MAIN { ToolTipEx().Run(); }
Button bt; bt.Tip ("Tooltip text");
btn.Tip("\1[@R This works!]")
[Updated on: Thu, 05 February 2009 15:49]