Export (0) Print
Expand All
Expand Minimize

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

Show:
© 2014 Microsoft