"Mikhail Maroukhine" mikolg@yandex.ru writes:
GetNextDlgTabItem returns hwndDlg if it does not contain controls and searching next item. GetNextDlgTabItem returns the first child if next TABSTOP control not found.
And returns 0 in both cases if searching prev item
It breaks the tests:
../../../tools/runtest -q -P wine -M comctl32.dll -T ../../.. -p comctl32_test.exe.so propsheet.c && touch propsheet.ok propsheet.c:312: Test failed: Focus should have been set to the Next button. Expected: 12324, Found: 65535 propsheet.c:363: Test failed: Focus should have been set to the Next button. Expected: 12324, Found: 65535 make[1]: *** [propsheet.ok] Error 2