Home > Software engineering >  The Tab control error in three days I didn't understand
The Tab control error in three days I didn't understand

Time:10-09

Other computer is no problem, my computer will be out of a mistake,
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 try
ON_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?
  • Related