Tony Duff
2010-03-11 04:04:01 UTC
I'm migrating my app. from single byte to Unicode. I could write the title
of the main window using SetTextW and a wchar_t string successfully when the
windows were defined as single byte. Now that I have registered and created
the windows in the app as wide, this no longer works. I only get the first
character of the string showing. In other words, the main window is now
behaving as though it expects a single byte string.
What am I doing wrong? What do I have to do specifically to get the main
window fully defined as wide and to get the window title written using a wide
string?
Thanks for your assistance,
Tony Duff
of the main window using SetTextW and a wchar_t string successfully when the
windows were defined as single byte. Now that I have registered and created
the windows in the app as wide, this no longer works. I only get the first
character of the string showing. In other words, the main window is now
behaving as though it expects a single byte string.
What am I doing wrong? What do I have to do specifically to get the main
window fully defined as wide and to get the window title written using a wide
string?
Thanks for your assistance,
Tony Duff