GetNextDlgTabItem

Syntax

HWND GetNextDlgTabItem(hDlg,hCtl,bPrevious)

This function obtains the handle of the first control that has the WS_TABSTOP style that precedes (or follows) the control identified by the hCtl parameter.

Parameter Type/Description  

hDlg HWND Identifies the dialog box being searched.  
hCtl HWND Identifies the control to be used as a starting point for the search.  
bPrevious BOOL Specifies how the function is to search the dialog box. If the bPrevious parameter is zero, the function searches for the previous control in the dialog box. If bPrevious is nonzero, the function searches for the next control in the dialog box. Identifies the control to be used as a starting point for the search.  

Return Value

The return value identifies the previous (or next) control that has the WS_TABSTOP
style set.