|
|
|
date: Sun, 22 Jun 2008 11:36:30 +0200,
group: microsoft.public.platformsdk.mslayerforunicode
back
Re: SetWindowTextW (and DefWindowProcW) doesn't work on Windows 2000?
> That's not an option.
I don't know whay "that's not an option", if you don't ellaborate.
But that's your problem.
What I can tell is that you will continue having bugs.
Patchy stuff, mixing Unicode with non-Unicode calls,
is a recipe for more bugs like this.
You will find a bug, spend two days figuring it out, fix one call,
somethine else will break, and so on.
This might be ok for you, and maybe you really don't have the option
of going Unicode. But at least you know what to expect.
--
Mihai Nita [Microsoft MVP, Visual C++]
http://www.mihai-nita.net
------------------------------------------
Replace _year_ with _ to get the real email
date: Mon, 23 Jun 2008 22:22:33 -0700
author: Mihai N.
Re: SetWindowTextW (and DefWindowProcW) doesn't work on Windows 2000?
It's not an option because it's old non-unicode software and we don't have
time to port it to unicode. So, i am calling RegisterClass() and
CreateWindow() (not RegisterClassW() and CreateWindowW()), but according to
information i have found on the Internet it should still be possible to call
DefWindowProcW().
What i don't understand: calling DefWindowProcW with argument WM_SETTEXT
works under Windows XP (i get a Chinese caption on an English Windows
version), but not under Windows 2000 (i get question marks).
"Mihai N." wrote in message
news:Xns9AC7E393C6409MihaiN@207.46.248.16...
>> That's not an option.
>
> I don't know whay "that's not an option", if you don't ellaborate.
> But that's your problem.
>
> What I can tell is that you will continue having bugs.
> Patchy stuff, mixing Unicode with non-Unicode calls,
> is a recipe for more bugs like this.
> You will find a bug, spend two days figuring it out, fix one call,
> somethine else will break, and so on.
>
> This might be ok for you, and maybe you really don't have the option
> of going Unicode. But at least you know what to expect.
>
>
> --
> Mihai Nita [Microsoft MVP, Visual C++]
> http://www.mihai-nita.net
> ------------------------------------------
> Replace _year_ with _ to get the real email
date: Tue, 24 Jun 2008 22:00:28 +0200
author: Gerben Abbink
|
|