Update window problem in unicode
-
Hello All, Good Evening, I converted my project from ANSI to UNICODE project. In the Unicode project, the values changing in a text doesn't reflect by itself and the textbox needs UpdateWindow() to be called whenever there is a change in it. But this kind of behaviour doesn't happen with the ANSI project previously. Can anyone advice on this ? Many thanks in advance. Bhanu
-
Hello All, Good Evening, I converted my project from ANSI to UNICODE project. In the Unicode project, the values changing in a text doesn't reflect by itself and the textbox needs UpdateWindow() to be called whenever there is a change in it. But this kind of behaviour doesn't happen with the ANSI project previously. Can anyone advice on this ? Many thanks in advance. Bhanu
Could you give a bit more detail? I doubt there should be such a behaviour change in your program just because you went from ANSII to UNICODE. What did you change on your code? There are certain messages/notifications which have an ANSII and a UNICODE version (these are usually postfixed with an A or a W to indicate ANSII or unicode (WIDE) versions), could it be that somewhere you are listening for the ANSII version of a message which is not being sent anymore since you changed to UNICODE and now the WIDE version is sent? Show some code snipplet how you handled changes in one of your edit boxes which no longer functions.
> The problem with computers is that they do what you tell them to do and not what you want them to do. < > Life: great graphics, but the gameplay sux. <