2 Aug
2024
2 Aug
'24
12:38 p.m.
Zhiyi Zhang (@zhiyi) commented about dlls/comctl32/propsheet.c:
+{ + PSHNOTIFY psn; + HWND focusable_item = NULL; + HWND initial_focus = NULL; + + focusable_item = GetNextDlgTabItem(psInfo->proppage[index].hwndPage, NULL, FALSE); + + if (!focusable_item) + return; + + psn.hdr.code = PSN_QUERYINITIALFOCUS; + psn.hdr.hwndFrom = hwndDlg; + psn.hdr.idFrom = 0; + psn.lParam = 0; + initial_focus = (HWND)SendMessageW(psInfo->proppage[index].hwndPage, WM_NOTIFY, 0, (LPARAM)&psn); + Same here.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/6145#note_77652