GuiMessageVectorCtrl - "Specials" ?
by Orion Elenzil · in Torque Game Engine · 03/15/2006 (6:05 pm) · 1 replies
Does anyone know what these "specials" are in GuiMessageVectorCtrl ?
TDN is pretty quiet on the subject.
eg, it looks like the intent is to let you click URLs in there:
i tried adding text marked-up as if for a GuiMLText ctrl, but it doesn't really do much...
(this is related to what i was persuing in this thread.)
TDN is pretty quiet on the subject.
eg, it looks like the intent is to let you click URLs in there:
[b]GuiMessageVectorCtrl::onMouseUp()[/b]
//.....
findSpecialFromCoord(globalToLocalCoord(event.mousePoint), &currSpecialLine, &currSpecialRef);
//.....
Con::executef(this, 2, "urlClickCallback", copyURL);
//.....i tried adding text marked-up as if for a GuiMLText ctrl, but it doesn't really do much...
(this is related to what i was persuing in this thread.)
About the author
Associate Orion Elenzil
Real Life Plus
if you set %myControl.allowedmatches[0] = "http";
then you can get a callback.
still haven't registered the callback, but i'm sure that's the solution..