Dela via


CWnd::GetNextDlgTabItem

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;

Parameters

  • pWndCtl
    Identifies the control to be used as the starting point for the search.

  • pCurSiteOrWnd
    Identifies the COleControlSiteOrWnd control. For more information about COleControlSiteOrWnd, see CWnd::GetNextDlgGroupItem.

  • bPrevious
    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.

Return Value

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.

Requirements

Header: afxwin.h

See Also

Concepts

CWnd Members

Reference

CWnd Class

Hierarchy Chart

CWnd::GetNextDlgGroupItem

GetNextDlgTabItem