◄CWnd► ◄Up► ◄Contents► ◄Index► ◄Back► ──Microsoft Foundation Classes────────────────────────────────────────────── CWnd* GetNextDlgGroupItem( CWnd* pWndCtl, BOOL bPrevious = FALSE ) const; Parameter Description <pWndCtl> Identifies the control to be used as the starting point for the search. <bPrevious> Specifies how the function is to search the group of controls in the dialog box. If this parameter is TRUE, the function searches for the previous control in the group. If this parameter is FALSE, the function searches for the next control in the group. Remarks Searches for the previous (or next) control within a group of controls in a dialog box. A group of controls begins with a control that was created with the ◄WS_GROUP► style and ends with the last control that was not created with the ◄WS_GROUP► style. By default, the GetNextDlgGroupItem member function returns a pointer to the next control in the group. If <pWndCtl> identifies the first control in the group and <bPrevious> is TRUE, GetNextDlgGroupItem returns a pointer to the last control in the group. Return Value Pointer to the previous (or next) control in the group. The returned pointer may be temporary, and should not be stored for later use. See Also ◄CWnd::GetNextDlgTabItem►, ◄::GetNextDlgGroupItem► -♦-