Void CliangyuDlg: : OnTcnSelchangeTab1 (NMHDR * pNMHDR, LRESULT * pResult)
ON_NOTIFY (TCN_SELCHANGE IDC_TAB1, & amp; CliangyuDlg: : OnTcnSelchangeTab1)
Error C2065: "wNotifyCode" : no statement of identifiers
Tab control can't write program, why?
CodePudding user response:
You mean the same code in other people's machines to use your machine don't compile the past?CodePudding user response:
So tryON_NOTIFY (TCN_SELCHANGE IDC_TAB1, OnTcnSelchangeTab1)
An earlier version of VS deny ON_NOTIFY (TCN_SELCHANGE IDC_TAB1, & amp; CliangyuDlg: : OnTcnSelchangeTab1)
CodePudding user response:
Error C2065: "wNotifyCode" : no statement of identifiers-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
The point to where the code?
CodePudding user response:
Typedef struct tagNMHDR {The HWND hwndFrom;
UINT idFrom;
UINT code;
} NMHDR;
Is red?