speedbar.gadget v53.12
SDK says v53.29
I have my bar created and added some buttons. Get weird values in Code.
AutoDocs says to use int8 for value for AllocSpeedButtonNode(). I have tried that, uint16, uint32, hard coded a number (4). Always returns something like 50450 or 116934, not 0, 1, 2....
Same thing.
Fails to return the node. So can't see SBNA_UserData.
When is SBNA_ButtonID coming?
Looked around online, can't see anything wrong. Any ideas at what I should be looking at?
.....frustrated.......
IIntuition->GetAttrs(Objects[GAD_BOOKMARKS_SPEEDBAR], SPEEDBAR_Selected, &Code, TAG_DONE);
struct Node *WorkingNode; IIntuition->GetAttrs(Objects[GAD_BOOKMARKS_SPEEDBAR], SPEEDBAR_SelectedNode, &WorkingNode, TAG_DONE);