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. Database & SysAdmin
  3. System Admin
  4. Undocumented Win2000/XP message 0x128

Undocumented Win2000/XP message 0x128

Scheduled Pinned Locked Moved System Admin
comgraphicshelpquestion
2 Posts 1 Posters 5 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.
  • P Offline
    P Offline
    Phil Davidson
    wrote on last edited by
    #1

    Our subclassed CButtons are receiving Windows message 0x128 (296) when tabbing out of certain controls in the same dialog tab. This causes the button to draw over (or leave unpainted?) the art we want to see. In our case, the caption on the button has the standard gray button background, which we don't want. The bad drawing only occurs once in the life of the dialog. Covering/reexposing the bad areas causes them to redraw correctly. If we return 0 from message 0x128 (not passing it to CButton), the problem disappears. This occurs only on Windows 2000 and XP. Does anyone know what undocumented Windows message 0x128 (296) is supposed to do? -- Phil Davidson phil@phildavidson.com

    P 1 Reply Last reply
    0
    • P Phil Davidson

      Our subclassed CButtons are receiving Windows message 0x128 (296) when tabbing out of certain controls in the same dialog tab. This causes the button to draw over (or leave unpainted?) the art we want to see. In our case, the caption on the button has the standard gray button background, which we don't want. The bad drawing only occurs once in the life of the dialog. Covering/reexposing the bad areas causes them to redraw correctly. If we return 0 from message 0x128 (not passing it to CButton), the problem disappears. This occurs only on Windows 2000 and XP. Does anyone know what undocumented Windows message 0x128 (296) is supposed to do? -- Phil Davidson phil@phildavidson.com

      P Offline
      P Offline
      Phil Davidson
      wrote on last edited by
      #2

      The answer: This message 0x128 is WM_UPDATEUISTATE, which is documented in the MSDN library. I would have found this if I had inspected WINUSER.H from a recent version of the Platform SDK. Thanks to Usenet correspondents for this information. -- Phil

      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