这个结构里不能得到选择了哪个标签,应该用GetCurSel获得选中的标签.这个结构保存了TAB控件的句柄、ID以及消息码TCN_SELCHANGE lpnmhdr = (LPNMHDR) lParam; Parameters lpnmhdr Address of an NMHDR structure. The hwndFrom member is the handle to the tab control. The idFrom member is the child window identifier of the tab control. The code member is TCN_SELCHANGE.
lpnmhdr = (LPNMHDR) lParam; Parameters
lpnmhdr
Address of an NMHDR structure. The hwndFrom member is the handle to the tab control. The idFrom member is the child window identifier of the tab control. The code member is TCN_SELCHANGE.