April 14, 2026
12:36 p.m.
On Sun Apr 12 10:28:05 2026 +0000, Zhiyi Zhang wrote:
This is a bit weird. Have you tried TVM_SETUNICODEFORMAT and see if it sends TVN_ITEMCHANGINGA? I tested various configurations, with TVM_SETUNICODEFORMAT too.
I can _not_ make Microsoft implementation send TVM_ITEMCHANGINGA, it always sends TVM_ITEMCHANGINGW even if created/configured as ANSI. This must have gone unnoticed because relying on common controls v6 features means your app requires at least Windows XP... then it shouldn't be built as ANSI. In fact I made the same 'bug' in my implementation at first (assumed v6 implies UNICODE), then found that MS does the same after adding tests. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10451#note_136067