Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Update window problem in unicode

Update window problem in unicode

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestionannouncement
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    bhanu_reddy09
    wrote on last edited by
    #1

    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

    C 1 Reply Last reply
    0
    • B bhanu_reddy09

      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

      C Offline
      C Offline
      Code o mat
      wrote on last edited by
      #2

      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. <

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups