pvriens@xs4all.nl writes:
while going through some of the code I saw that in the above mentioned function we sometimes do a SendMessage(A/W) depending on the setting of the unicode parameter. In the same function we do 3 SendMessageW's without checking unicode. Is this correct or is this not harmful ?
The distinction only matters for messages that have different behavior in ASCII and Unicode, i.e. that have a string parameter or something like that. For most messages always using SendMessageW is fine.