News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Unicode Edit window

Started by tathams, October 05, 2006, 11:57:18 AM

Previous topic - Next topic

tathams

I have a normal program but wish to get some unicode text in one specific part of the program.

If I create a window handle using CreateWindowExW not CreateWindowExA does anyone know if I can then send a
SendMessageW(handle,WM_GETTEXT,xx,buffer_pointer) to get the data, once the user has tabbed away from it.

Thanks

hutch--

The general idea with unicode functions is to be consistent and not mix them with ANSI functions. This means pick the unicode API calls and check out the capacity of the messages you use to control the main window and the edit window in its client area. You know of course that you need winNT or win2000 and later to handle unicode properly but apart from that, its just pick the right functions and messages and it all works fine.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php