CWnd* GetNextDlgTabItem( CWnd* pWndCtl, BOOL bPrevious = FALSE ) const;
pWndCtl
Identifies the control to be used as the starting point for the search.
bPrevious
Specifies how the function is to search the dialog box. If this parameter is TRUE, the function searches for the previous control in the dialog box. If this parameter is FALSE, the function searches for the next control in the dialog box.
Retrieves a pointer to the first control that was created with the WS_TABSTOP style and precedes (or follows) the specified control.
The return value is the previous (or next) control that has the WS_TABSTOP style.
The returned pointer may be temporary, and should not be stored for later use.
CWnd::GetNextDlgGroupItem, ::GetNextDlgTabItem