CWnd::GetNextDlgTabItem
Visual Studio 2010
Retrieves a pointer to the first control that was created with the WS_TABSTOP style and that precedes or follows the specified control.
CWnd* GetNextDlgTabItem( CWnd* pWndCtl, BOOL bPrevious = FALSE ) const; COleControlSiteOrWnd* GetNextDlgTabItem( COleControlSiteOrWnd *pCurSiteOrWnd, BOOL bPrevious ) const;
Pointer to the previous or next control that has the WS_TABSTOP style, if the member function is successful.
The returned pointer may be temporary and should not be stored for later use.
For more information about COleControlSiteOrWnd, see CWnd::GetNextDlgGroupItem.