Re: [PATCH v11 0/1] MR6075: Add chevron visibility test to check the case of restoring band width to ideal value
15 Aug
2024
15 Aug
'24
10:05 a.m.
Zhiyi Zhang (@zhiyi) commented about dlls/comctl32/tests/rebar.c:
#undef X }
+static void test_chevron(void) +{ + HWND hRebar; + REBARBANDINFOA rbi; + /* the gap between the child and the next band */ + enum { REBAR_POST_CHILD = 4 }; + + hRebar = create_rebar_control(0); + rbi.cbSize = REBARBANDINFOA_V6_SIZE; + rbi.fMask = RBBIM_CHILD | RBBIM_CHILDSIZE | RBBIM_IDEALSIZE | RBBIM_SIZE | RBBIM_STYLE; + rbi.cxIdeal = 128; + rbi.cx = rbi.cxIdeal + REBAR_POST_CHILD - 1; Is REBAR_POST_CHILD needed? Even if you do, it shouldn't be an enum.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/6075#note_78824
492
Age (days ago)
492
Last active (days ago)
0 comments
1 participants
participants (1)
-
Zhiyi Zhang (@zhiyi)