Andriy Palamarchuk apa3a@yahoo.com writes:
The best approach I could think of is to send an internal message from this location which returns lengths of Unicode and ASCII strings. This message will be processed only by our controls. If lengths of the Unicode strings are the same this means that both are generated by our code for the same text and I return the A length. If the lengths are different this means length was generated not in our code and I keep existing behavior (return double original Unicode length).
Actually our code should never have that problem because we have both ASCII and Unicode winprocs for all controls. But there were a few ASCII/Unicode mismatches in the combobox, I believe it should be fixed now.