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 window title bar => system buttons stuffed [modified]

Custom window title bar => system buttons stuffed [modified]

Scheduled Pinned Locked Moved C / C++ / MFC
c++comhelpquestion
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.
  • L Offline
    L Offline
    Leif Goodwin
    wrote on last edited by
    #1

    I want an MFC SDI application frame window with a custom title bar, and I am using this code: http://www.microsoft.com/msj/0197/c/c0197.aspx It sort of works. Unfortunately the custom title bar causes the buttons in the top right (minimize, maximize and close) to shrink in width, and hence the end result is a mess. Has anyone come across this problem, or know of an alternative? Thanks.

    modified on Thursday, January 6, 2011 5:19 AM

    C 1 Reply Last reply
    0
    • L Leif Goodwin

      I want an MFC SDI application frame window with a custom title bar, and I am using this code: http://www.microsoft.com/msj/0197/c/c0197.aspx It sort of works. Unfortunately the custom title bar causes the buttons in the top right (minimize, maximize and close) to shrink in width, and hence the end result is a mess. Has anyone come across this problem, or know of an alternative? Thanks.

      modified on Thursday, January 6, 2011 5:19 AM

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

      Is it just me or is there something wrong with that link you provided? It doesn't seem to point at where it suposedly does.

      > The problem with computers is that they do what you tell them to do and not what you want them to do. < > Leela: Fry, you're wasting your life sitting in front of that TV. You need to get out and see the real world. Fry: But this is HDTV. It's got better resolution than the real world < >Nothing is free in the universe.<

      modified on Thursday, January 6, 2011 5:44 AM

      L 1 Reply Last reply
      0
      • C Code o mat

        Is it just me or is there something wrong with that link you provided? It doesn't seem to point at where it suposedly does.

        > The problem with computers is that they do what you tell them to do and not what you want them to do. < > Leela: Fry, you're wasting your life sitting in front of that TV. You need to get out and see the real world. Fry: But this is HDTV. It's got better resolution than the real world < >Nothing is free in the universe.<

        modified on Thursday, January 6, 2011 5:44 AM

        L Offline
        L Offline
        Leif Goodwin
        wrote on last edited by
        #3

        Not it's not just you. Thanks for pointing it out. I've fixed the link.

        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