Replies: 1 comment 2 replies
-
Hmm, it sounds like it can be changed at runtime:
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I noticed something today that puts tB between a rock and a hard place: breaking large swathes of existing code, or not supporting Unicode.
This comes in the context of ListView control (and also applies at a minimum to the TreeView). While you can send either A or W messages, certain notify messages you receive when subclassing have A and W versions, and only one is sent, according to whether the control responds to WM_NOTIFYFORMAT with NFR_UNICODE or not.
The VB6 controls do not, and send
LVN_GETDISPINFOA
etc, while the tB controls sendLVN_GETDISPINFOW
. So obviously there's loads of VB code out there expecting and handling only these ANSI notifications.This means WinNativeCommonCtls would either need to limit their Unicode support, or not be 100% compatible drop-in replacements. Since this is all documented, standard Common Controls API stuff, I wouldn't consider this an internal implementation detail outside the scope of compatibility, especially given how widespread usage is.
Curious if Wayne has already made a final decision on this, or if not, to gather opinions to help inform that decision.
Beta Was this translation helpful? Give feedback.
All reactions