WM_GETTEXTLENGTH change in winproc.c
18 Aug
2001
18 Aug
'01
9:30 p.m.
I don't understand it : case WM_GETTEXTLENGTH: 719 case CB_GETLBTEXTLEN: 720 case LB_GETTEXTLEN: 721 /* there may be one DBCS char for each Unicode char */ 722 return result * 2; This has a bad effect on one of my test apps - returns a length of 12 for a text of 6 characters, displays funny symbols after the text. The Unicode window proc returns 6, why the unicode/ascii conversion should make it 12 ? The Api returns number of chars, not bytes. Gerard
8881
Age (days ago)
8881
Last active (days ago)
0 comments
1 participants
participants (1)
-
Gerard Patel