local tvinsert:TV_INSERTSTRUCT
mov tvinsert.item
.............. there is no item in tip of 2.0.1.7
...............why
typedef struct tagTVINSERTSTRUCT {
HTREEITEM hParent;
HTREEITEM hInsertAfter;
#if (_WIN32_IE >= 0x0400)
union
{
TVITEMEX itemex;
TVITEM item;
} DUMMYUNIONNAME;
#else
TVITEM item;
#endif
} TVINSERTSTRUCT, *LPTVINSERTSTRUCT;
Hi
There is a trick to it.
Type:
mov tvinsert.it
and push Tab key.
There is a trick to it.
Type:
mov tvinsert.it
and push Tab key.
i means
mov @tvinsert.item._mask,TVIF_TEXT
not mov @tvinsert.ITEMTYPE :roll:
mov @tvinsert.item._mask,TVIF_TEXT
not mov @tvinsert.ITEMTYPE :roll:
Thanks
There is a bug in the masmApiStruct.api file.
Correct the line:
TV_INSERTSTRUCT,hParent,hInsertAfter,ITEMTYPE:
to:
TV_INSERTSTRUCT,hParent,hInsertAfter,itemex:TVITEMEX,item:TVITEM
KetilO
There is a bug in the masmApiStruct.api file.
Correct the line:
TV_INSERTSTRUCT,hParent,hInsertAfter,ITEMTYPE:
to:
TV_INSERTSTRUCT,hParent,hInsertAfter,itemex:TVITEMEX,item:TVITEM
KetilO