遗留问题
typedef struct tag
{
DWORD itemData;
int dataI;
}DTAWITEMSTRUCT;
typedef DTAWITEMSTRUCT* LPDRAWITEMSTRUCT;
typedef struct tag2
{
CString strTest;
UINT uID;
UINT inDex;
int postionleftImage;
}MENUITEM ;
MENUITEM menuitem={_T("hello"),100,100,100};
DTAWITEMSTRUCT drawitemstruct={1000,1000};
typedef MENUITEM* LPMENUITEM;
LPMENUITEM lpmenuitem=&menuitem;
LPDRAWITEMSTRUCT lpdrawitemstruct=NULL;
lpdrawitemstruct=(LPDRAWITEMSTRUCT)lpmenuitem->inDex;