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. How To Change Dialog BackGround Color on the FLy,

How To Change Dialog BackGround Color on the FLy,

Scheduled Pinned Locked Moved C / C++ / MFC
c++tutorial
3 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
    Buck
    wrote on last edited by
    #1

    Hi, I'm writing a MFC dailog app where I wish to be able to change the Dialog client area Background on the FLy. Is there aan easy way of doing this, Regardz Colin Davies

    J 1 Reply Last reply
    0
    • B Buck

      Hi, I'm writing a MFC dailog app where I wish to be able to change the Dialog client area Background on the FLy. Is there aan easy way of doing this, Regardz Colin Davies

      J Offline
      J Offline
      Jeremy Davis
      wrote on last edited by
      #2

      Override the dialog's WM_ERASEBKGND so that the dialog background is not draw, and then in OnPaint draw the background you want. Email me for more help. Jerry ================== The original message was: Hi,
      I'm writing a MFC dailog app where I wish to be able to change the Dialog client area Background on the FLy.
      Is there aan easy way of doing this,

      Regardz
      Colin Davies

      B 1 Reply Last reply
      0
      • J Jeremy Davis

        Override the dialog's WM_ERASEBKGND so that the dialog background is not draw, and then in OnPaint draw the background you want. Email me for more help. Jerry ================== The original message was: Hi,
        I'm writing a MFC dailog app where I wish to be able to change the Dialog client area Background on the FLy.
        Is there aan easy way of doing this,

        Regardz
        Colin Davies

        B Offline
        B Offline
        Buck
        wrote on last edited by
        #3

        Thanks Jerry ! ================== The original message was:

        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