CWnd* GetNextDlgTabItem( CWnd* pWndCtl, BOOL bPrevious = FALSE) const;Specifies how the function is to search the dialog box. If TRUE, the function searches for the previous control in the dialog box; if FALSE, it searches for the next control. 通过修改第二个参数的值来判断是向前还是向后
看看这个函数的定义你就明白了。bPrevious=FALSE表示向后,bPrevious=TRUE表示向前。
所以GetNextDlgTabItem(pWndCtl,TRUE);就是获取上一个tab顺序窗口对象了