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. CMFCPropertyGridProperty - Protected methods don't get called

CMFCPropertyGridProperty - Protected methods don't get called

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialquestion
2 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.
  • S Offline
    S Offline
    Simon Langdon
    wrote on last edited by
    #1

    Who's got experience with this class then? Examples and documentation seem pitifully thin on the ground. I'm just playing with it to see if it's the right control for a new development. At the moment I'm wondering how to add a button to a property. The doc suggests overloading the protected "HasButton" function "Indicates whether a property contains a button." says MSDN So I don't know if I'll get a button by overloading this and returning TRUE because my overloaded function never gets called; other protectesd functions that don;t ever seem to be called are Init, CreateCombo or IsValueChanged maybe I'm contructing my CMFCPropertyGridProperty wrong? Thanks for looking.

    U 1 Reply Last reply
    0
    • S Simon Langdon

      Who's got experience with this class then? Examples and documentation seem pitifully thin on the ground. I'm just playing with it to see if it's the right control for a new development. At the moment I'm wondering how to add a button to a property. The doc suggests overloading the protected "HasButton" function "Indicates whether a property contains a button." says MSDN So I don't know if I'll get a button by overloading this and returning TRUE because my overloaded function never gets called; other protectesd functions that don;t ever seem to be called are Init, CreateCombo or IsValueChanged maybe I'm contructing my CMFCPropertyGridProperty wrong? Thanks for looking.

      U Offline
      U Offline
      User 13390606
      wrote on last edited by
      #2

      I'm getting the same behavior as I suspect you did trying to override the CreateCombo function in a property class derived from CMFCPropertyGridProperty. Did you ever resolve this?

      AlexJ

      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