Поделиться через


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;

Параметры

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

Возвращаемое значение

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.

Требования

Header: afxwin.h

См. также

Основные понятия

CWnd Class

CWnd Members

Hierarchy Chart

CWnd::GetNextDlgGroupItem

GetNextDlgTabItem