CWnd::GetNextDlgTabItem

Syntax

CWnd* GetNextDlgTabItem( CWnd* pWndCtl, BOOL bPrevious = FALSE ) const;

Parameters

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.

Remarks

Retrieves a pointer to the first control that was created with the WS_TABSTOP style and precedes (or follows) the specified control.

Return Value

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.

See Also

CWnd::GetNextDlgGroupItem, ::GetNextDlgTabItem