"Cannot add a new member"
-
I need to add a new message handler for a dialog box... but its giving "Cannot add a new member"... ... i tried deleting clw file and the rebuliding it.but doesnt work. Also all my classes are not getting displayed in class wizard. Plz help me. Thanks n Advance
-
I need to add a new message handler for a dialog box... but its giving "Cannot add a new member"... ... i tried deleting clw file and the rebuliding it.but doesnt work. Also all my classes are not getting displayed in class wizard. Plz help me. Thanks n Advance
How many controls do you have on the form?
WhiteSky
-
I need to add a new message handler for a dialog box... but its giving "Cannot add a new member"... ... i tried deleting clw file and the rebuliding it.but doesnt work. Also all my classes are not getting displayed in class wizard. Plz help me. Thanks n Advance
I think you must add some member in header file , for example : in following code , when you want add double click to add a new member in dialog, the "Cannot add new member " message will be occur. please move the private: int m_iValue below the ADX_DATA will be fixed! // Dialog Data //{{AFX_DATA(CDlg) enum { IDD = IDD_DIALOG }; CButton m_ABC; CRichEditCtrl m_RichEdit; private: int m_iValue //}}AFX_DATA Also this inidicates that the file is readonly, or that perhaps the various magic comments have been corrupted
akt
-
I need to add a new message handler for a dialog box... but its giving "Cannot add a new member"... ... i tried deleting clw file and the rebuliding it.but doesnt work. Also all my classes are not getting displayed in class wizard. Plz help me. Thanks n Advance
I think you must add some member in header file , for example : in following code , when you want add double click to add a new member in dialog, the "Cannot add new member " message will be occur. please move the private: int m_iValue below the ADX_DATA will be fixed! // Dialog Data //{{AFX_DATA(CDlg) enum { IDD = IDD_DIALOG }; CButton m_ABC; CRichEditCtrl m_RichEdit; private: int m_iValue //}}AFX_DATA Also this inidicates that the file is readonly, or that perhaps the various magic comments have been corrupted
akt
-
I think you must add some member in header file , for example : in following code , when you want add double click to add a new member in dialog, the "Cannot add new member " message will be occur. please move the private: int m_iValue below the ADX_DATA will be fixed! // Dialog Data //{{AFX_DATA(CDlg) enum { IDD = IDD_DIALOG }; CButton m_ABC; CRichEditCtrl m_RichEdit; private: int m_iValue //}}AFX_DATA Also this inidicates that the file is readonly, or that perhaps the various magic comments have been corrupted
akt
Thanks 4 that.... but i dont have any member variable of class scope.. so the above doesn't fit the solution. how to display all classes what i have in ma project in class wizard Note : All my classes where not created using class wizard :) Thanks in Advance. Regards. Arshad. "I am just loving this....."
-
Thanks 4 that.... but i dont have any member variable of class scope.. so the above doesn't fit the solution. how to display all classes what i have in ma project in class wizard Note : All my classes where not created using class wizard :) Thanks in Advance. Regards. Arshad. "I am just loving this....."
You can also declare your variables manualy.
WhiteSky