gprentice Messages: 260 Registered: November 2005 Location: New Zealand
Experienced Member
luzr wrote on Fri, 31 March 2006 07:51
gprentice wrote on Thu, 30 March 2006 06:26
Quote:
How do you find out which operators do what for a widget.
e.g. where is the <<= operator for an EditDate declared.
With the help of slickedit I see it's in the Ctrl class with overloads that take either Value or Callback.
It's not all that easy to find if it's re-defined in a derived class - for some reason, slickedit won't find me the definition of <<= when I use it in an expression e.g. EditDate d1; d1 <<= THISBACK(something);
Does Ultimate++ impressive code browsing facility allow me to jump to definition of <<= somehow, or to find it ??
Graeme
Not yet, sorry...
Mirek
Well I found a way! Query for operator<<= and it finds them all, including the ones in ::Ctrl. Not bad! (Slickedit tagging doesn't handle operator functions - I guess they're a bit of a problem).