I can't find it in the MSDN docs or anywhere on the net. How do I get the value of the selected item (combobox) in a CMFCPropertyGridCtrl/CMFCPropertyGridProperty in MFC?
I searched MSDN until my head hurt and can't find out how. I know it is some simple (probably undocumented) call. I don't understand why MSDN is so brief with some of the MFC features. Microsoft developers spend tens of thousands of man hours developing Visual Studio, MFC, .NET etc... but the documentation for some (and much of MFC) is HORRIBLE.. The new feature pack includes a Property Grid in the app-wizard, but there are no examples on how to actually use it.
I tried every trick in the book. I even tried to "hack" my way in by disassembling my small sample program with a PropGrid. I located where in the code the info string was loaded so I could find the location of structure of the grid. I then tried to advance a pointer (originally pointed towards the general area of the property grid) into areas I thought would hold the index of a selected item. Didn't work. Ya, I was going crazy so I tried this hack so I could at least continue with my program development until I found a _real_ solution. I am about to build my own prop grid.
-Nick
I searched MSDN until my head hurt and can't find out how. I know it is some simple (probably undocumented) call. I don't understand why MSDN is so brief with some of the MFC features. Microsoft developers spend tens of thousands of man hours developing Visual Studio, MFC, .NET etc... but the documentation for some (and much of MFC) is HORRIBLE.. The new feature pack includes a Property Grid in the app-wizard, but there are no examples on how to actually use it.
I tried every trick in the book. I even tried to "hack" my way in by disassembling my small sample program with a PropGrid. I located where in the code the info string was loaded so I could find the location of structure of the grid. I then tried to advance a pointer (originally pointed towards the general area of the property grid) into areas I thought would hold the index of a selected item. Didn't work. Ya, I was going crazy so I tried this hack so I could at least continue with my program development until I found a _real_ solution. I am about to build my own prop grid.
-Nick