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. eh, what does "owner drawn" mean?

eh, what does "owner drawn" mean?

Scheduled Pinned Locked Moved C / C++ / MFC
questionlearningc++
4 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.
  • L Offline
    L Offline
    largeinsd
    wrote on last edited by
    #1

    hi, i am just learning mfc and finding good inspiration with this excellent site. a question i have is that many of the dialogs and controls listed on this site are described as "owner drawn". what the heck does that mean? is that like when you attach a control to a dialog with out using a resource? thanks - @lrg

    M J 2 Replies Last reply
    0
    • L largeinsd

      hi, i am just learning mfc and finding good inspiration with this excellent site. a question i have is that many of the dialogs and controls listed on this site are described as "owner drawn". what the heck does that mean? is that like when you attach a control to a dialog with out using a resource? thanks - @lrg

      M Offline
      M Offline
      Mark Salsbery
      wrote on last edited by
      #2

      @largeinsd wrote:

      "owner drawn". what the heck does that mean?

      With owner drawn controls, you are responsible for drawing the control. For more info, see: Custom Controls[^] Customizing a Control's Appearance Using Custom Draw[^] Mark

      Mark Salsbery Microsoft MVP - Visual C++ :java:

      L 1 Reply Last reply
      0
      • M Mark Salsbery

        @largeinsd wrote:

        "owner drawn". what the heck does that mean?

        With owner drawn controls, you are responsible for drawing the control. For more info, see: Custom Controls[^] Customizing a Control's Appearance Using Custom Draw[^] Mark

        Mark Salsbery Microsoft MVP - Visual C++ :java:

        L Offline
        L Offline
        largeinsd
        wrote on last edited by
        #3

        ok, thanks... so it would seem that creating an owner drawn control is useful when you need to customize the appearance of the control. hmm... that's not what i need to do, so i will start another thread with my next question. :)

        1 Reply Last reply
        0
        • L largeinsd

          hi, i am just learning mfc and finding good inspiration with this excellent site. a question i have is that many of the dialogs and controls listed on this site are described as "owner drawn". what the heck does that mean? is that like when you attach a control to a dialog with out using a resource? thanks - @lrg

          J Offline
          J Offline
          Jeremy Falcon
          wrote on last edited by
          #4

          @largeinsd wrote:

          what the heck does that mean?

          The owner is the program that creates the control, so it's responsible for its appearance rather than Windows.

          Jeremy Falcon Oatmeal, It's What's for Dinner.[^]

          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