Zhiyi Zhang (@zhiyi) commented about dlls/comctl32/tests/treeview.c:
> }
> case TVN_ITEMEXPANDINGA:
> {
> - UINT newmask = pTreeView->itemNew.mask & ~TVIF_CHILDREN;
> + UINT newmask;
> + if (tvn_itemexpanding_ret)
> + {
> + tvn_itemexpanding_ret = 0;
Let's use a similar naming convention like other global variables, for example, g_reject_tvn_itemexpanding. And let parent_wnd_proc always return TRUE when g_reject_tvn_itemexpanding is TRUE and then reset the variable to zero in test_expandnotify() after your tests.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/6218#note_78093
Adding PSN_QUERYINITIALFOCUS helped fix some focus issues with the property sheet in bug 54862. Previously the listview in the tab control did not get focus from the start when it should have.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54862
--
v12: comctl32: Add handling for PSN_QUERYINITIALFOCUS in prop.c.
comctl32/tests: Add test for PSN_QUERYINITIALFOCUS for the propsheet.
https://gitlab.winehq.org/wine/wine/-/merge_requests/6145