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. Custom Drawn Dialog

Custom Drawn Dialog

Scheduled Pinned Locked Moved C / C++ / MFC
graphicsquestion
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.
  • C Offline
    C Offline
    Cem Usta
    wrote on last edited by
    #1

    Hi, I am trying to implement my own dialog with its own style and myDialog wraps CDialog. All works fine except Title bar buttons: http://img517.imageshack.us/img517/2269/mydialoggv0.jpg[^] (as you see on the picture) When i minimize or maximize myDialog, some times its CDialog is drawing its titlebar buttons above my buttons. Does anyone knows anything about this? Thanks, Cem

    O K 2 Replies Last reply
    0
    • C Cem Usta

      Hi, I am trying to implement my own dialog with its own style and myDialog wraps CDialog. All works fine except Title bar buttons: http://img517.imageshack.us/img517/2269/mydialoggv0.jpg[^] (as you see on the picture) When i minimize or maximize myDialog, some times its CDialog is drawing its titlebar buttons above my buttons. Does anyone knows anything about this? Thanks, Cem

      O Offline
      O Offline
      only coding
      wrote on last edited by
      #2

      you can remove WS_MINIMIZEBOX and WS_MAXIMIZEBOX style for Dialog. then draw them youself.

      Are you have gtalk ? please add me: xiangyangzhao@gmail.com

      1 Reply Last reply
      0
      • C Cem Usta

        Hi, I am trying to implement my own dialog with its own style and myDialog wraps CDialog. All works fine except Title bar buttons: http://img517.imageshack.us/img517/2269/mydialoggv0.jpg[^] (as you see on the picture) When i minimize or maximize myDialog, some times its CDialog is drawing its titlebar buttons above my buttons. Does anyone knows anything about this? Thanks, Cem

        K Offline
        K Offline
        Kiran Pinjala
        wrote on last edited by
        #3

        Hai Cem, I just wnat to know how to implement our own dialog with its won style such as different buttons, different background. I would appriciate if you can provide me any sample code link.

        Saadhinchaali

        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