Same code used for synth and for MIDI devices, but it try to count
Synth or MIDI device id from wine driver ID.
After this change device id is stored in struct and always correct.
--
v4: wineoss: Store the OSS device in midi_dest.
https://gitlab.winehq.org/wine/wine/-/merge_requests/6251
When the listview expands or collapses an item it notifies the parent using the TVN_ITEMEXPANDING message. The parent can return true on this message and it prevents the treeview from expanding or collapsing the item. WINE does not let you deny TVN_ITEMEXPANDING by returning true.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53727
--
v11: comctl32/treeview: Allow treeview parent to deny treeview expansion.
comctl32/tests: Add test to check if treeview expansion can be denied.
https://gitlab.winehq.org/wine/wine/-/merge_requests/6218
On Thu Aug 15 10:21:21 2024 +0000, Huw Davies wrote:
> ```suggestion:-0+0
> int dev; /* OSS device */
> ```
> Also, please change the commit message to something like:
> ```
> wineoss: Store the OSS device in midi_dest.
> This avoids having to calculate the OSS device from the Windows dev_id.
> ```
Is is `int` only on query synth/midi info, and it is always `uint8_t` in synth/midi message.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/6251#note_78852
When the listview expands or collapses an item it notifies the parent using the TVN_ITEMEXPANDING message. The parent can return true on this message and it prevents the treeview from expanding or collapsing the item. WINE does not let you deny TVN_ITEMEXPANDING by returning true.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53727
--
v10: comctl32/treeview: Allow treeview parent to deny treeview expansion.
comctl32/tests: Add test to check if treeview expansion can be denied.
https://gitlab.winehq.org/wine/wine/-/merge_requests/6218
On Thu Aug 15 10:05:31 2024 +0000, Zhiyi Zhang wrote:
> Is REBAR_POST_CHILD needed? Even if you do, it shouldn't be an enum.
Yes, sure. It's involved in child rect calculation just before showing or hiding chevron. The desicion depends on comparing child rect width and cxIdeal.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/6075#note_78836