遗留问题

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;

posted on 2012-02-18 11:07  小水人  阅读(102)  评论(0编辑  收藏  举报