How can I add properties to an Mfc PropertyGrid Control inserted from the "Toolbox" ?

  • Thread starter Thread starter aks2161989
  • Start date Start date
A

aks2161989

Guest
Hi,

I am a beginner to MFC. I am making a dialog-based application. I have added an MFC PropertyGrid Control to my dialog with the toolbox. The ID of this control is IDC_MFCPROPERTYGRID1

How can I add properties to this control? I have seen various resources online which show some code but do not mention which function/class I should add the code to.

Should I be using the GetDlgItem() function to allocate the ID to a CMFCPropertyGridCtrl object? Can someone show me how it is done?

Thank you,

Akshay.

Continue reading...
 
Back
Top