Zhiyi Zhang (@zhiyi) commented about dlls/comctl32/tests/rebar.c:
- rbi.cbSize = REBARBANDINFOA_V6_SIZE;
- rbi.fMask = RBBIM_CHILD | RBBIM_CHILDSIZE | RBBIM_IDEALSIZE | RBBIM_SIZE | RBBIM_STYLE;
- rbi.cxIdeal = 128;
- rbi.cx = rbi.cxIdeal >> 1;
- rbi.cxMinChild = rbi.cxIdeal >> 2;
- rbi.cyMinChild = rbi.cxMinChild;
- rbi.hwndChild = build_toolbar(1, hRebar);
- rbi.fStyle = RBBS_USECHEVRON | RBBS_NOGRIPPER;
- SendMessageA(hRebar, RB_INSERTBANDA, 0, (LPARAM)&rbi);
- SendMessageA(hRebar, RB_INSERTBANDA, 1, (LPARAM)&rbi);
- SetRectEmpty(&g_chevron_rect);
- SendMessageA(hRebar, RB_PUSHCHEVRON, 0, 0);
- ok(!IsRectEmpty(&g_chevron_rect), "Unexpected empty chevron rect\n");
- // increase band width to make it more then ideal value to hide chevron
Please use /**/ instead of //