LISTBROWSER_HintInfoHook problem [SOLVED]
Posted: Tue Jun 05, 2012 7:09 pm
Hi,
When I was exploring the use of this tag I found it not working as expected.
The listbrowser has an initial text for GA_HintInfo.
A hook structure was allocated properly, with ASOHOOK_Entry pointing to the function, who's contents bears down to this:
All I get is a small rectangle with NO text inside when I hover the mousepointer over a node.
Am I doing something wrong?
P.s.: SetAttrs gives a non-zero return value, indicating a refresh would be in place, which surprises me as the listbrowser itself nor any node has undergone any visual change.
OldFart
When I was exploring the use of this tag I found it not working as expected.
The listbrowser has an initial text for GA_HintInfo.
A hook structure was allocated properly, with ASOHOOK_Entry pointing to the function, who's contents bears down to this:
Code: Select all
void Create_HintInfo(struct Hook *hk, Object *o, struct Node *n)
{
IIntuition->SetAttrs(o, GA_HintInfo, "Some text", TAG_END);
}
Am I doing something wrong?
P.s.: SetAttrs gives a non-zero return value, indicating a refresh would be in place, which surprises me as the listbrowser itself nor any node has undergone any visual change.
OldFart