|
-
Dec 28th, 2017, 01:20 PM
#10
Re: Unicode caption for form: not working with classic or non-themed mode
 Originally Posted by Schmidt
DefWindowProcW is just "a more direct SendMessageW-replacement" (which bypasses the current WinProc-Handler) -
and as already reported, the Unicode-Caption is "landed" just fine per WM_SETTEXT in the hWnd in question
(since it can be successfully retrieved in Unicode-Format per WM_GETTEXT as well).
As Krool was mentioning, it is the WM_NCPaint-message which is finally responsible for the rendering
of that now successfully placed W-String-Caption.
Probably could have worded my response so people didn't have to review the thread I linked to, but the gist is rather simple: If themed, DefWindowProcW can be used else DefWindowProcA typically applies for VB forms. And DefWindowProcA doesn't do unicode.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|