Page 1 of 1

AutoDocs: speedbar_gc errors & dicrepancies

Posted: Mon Jan 30, 2012 7:51 pm
by OldFart
Chapter . . .: SBM_SETNODEATTRS

Section . . .: Attributes:
Tag SBNA_MXGroup

Information to be changed:
Datatype of ti_Value should be WORD

Section . . .: Result:
SBNA_MXGroup (WORD) (V41)
Set the mutual exclude group a button belongs to. This setting
implies the SBNA_Toggle attribute is TRUE also. Note, a single
speedbar can contain several MX groups and mixtures of toggles
and normal selections.

The default is ~0, meaning not in any MX group.

Re: AutoDocs: speedbar_gc errors & dicrepancies

Posted: Mon Jan 30, 2012 11:52 pm
by tonyw
All tags are uint32 (a full longword), as defined by "typedef ULONG Tag" and "struct TagItem" (See include/utility/tagitem.h).

Although only the lower 16 bits of the longword are used in this case, it still has to be a full 32 bit longword, otherwise the next Tag in the TagList will be misaligned.

Also don't forget that ALL TagLists must be terminated with a ", TAG_END);" or ", TAG_DONE);".