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