"Mikhail Maroukhine" mikolg@connectivegames.com wrote:
user32/dialog.c: GetNextDlgTabItem returns hwndDlg if next item not found Behavior checked on Windows XP
Please add a test case for this.
- return retWnd ? retWnd : (hwndCtrl ? hwndCtrl : hwndDlg);
Using an 'if' case would be more readable IMO.