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. changing the colour n layout of dialogbox

changing the colour n layout of dialogbox

Scheduled Pinned Locked Moved C / C++ / MFC
csharpc++question
3 Posts 3 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.
  • M Offline
    M Offline
    MahaKh
    wrote on last edited by
    #1

    how can i change the colour of ny dialog box and the looks of dialog box in MFC like what we can do with forms in C# thanks.

    M N 2 Replies Last reply
    0
    • M MahaKh

      how can i change the colour of ny dialog box and the looks of dialog box in MFC like what we can do with forms in C# thanks.

      M Offline
      M Offline
      Muhammad Mazhar
      wrote on last edited by
      #2

      You need to fill certain areas using CPen object.

      Share your experience with others Check my Blog...

      1 Reply Last reply
      0
      • M MahaKh

        how can i change the colour of ny dialog box and the looks of dialog box in MFC like what we can do with forms in C# thanks.

        N Offline
        N Offline
        Nuri Ismail
        wrote on last edited by
        #3

        If you need to change the background color of your dialog, you can find a simple solution here[^]. If you need advanced GUI for your dialog based application then you can use skinning techniques. Here on CP there are a lots of articles describing these techniques. Here are some results after a quick search: - Perfect Semi-transparent & Shaped Dialogs with Standard, ActiveX, and Translucent Controls for Windows 2000+[^] - A picture based skin system and MPEG decoder[^] - Cool, Semi-transparent and Shaped Dialogs with Standard Controls for Windows 2000 and Above[^] - StyleDialog - A transparent dialog class with an optional custom frame[^] - Tile, center and stretch a bitmap as your MFC dialog background[^] - and more here[^] I hope these examples help you. :) Regards, Nuri Ismail

        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