A question about Microsoft DataGrid Control, Version 6.0(OLEDB)
-
Hi,everyone. i'm a newbie of VC,i'm sorry if the question bother you... Here it is: when i first added the Microsoft DataGrid Control, Version 6.0(OLEDB), and added a member variable to a class by Class Wizard. However, for some reason I didn't do it rightly, so I wanted to delete it. (I think i must delete it in a wrong way and left something!) I navigated to the variable in the header file, and I deleted it. However, when I tried to reinsert the variable (once again by using Class Wizard, and choosing Add Member Variable), the former context menu didn't come out: "The ActiveX Control "Microsoft DataGrid Control, Version 6.0(OLEDB)" has not been inserted into the project. Developer Studio will do this now and generate a C++ wrapper class for it." -- Dialog is expected. instead, "Add Member Varible" dialog appears and the varible type datagrid1 exsits and i can't use it properly. i have searched in files i can't find string "datagrid" anymore,why does the compiler remember that :( so i think i should reinsert the component,another question comes up: why do they have "Project->Add to project->Components and Controls" but don't have "Project->Minus to project->Components and Controls" i don't know how to do,and hope someone can help me,and hope i describe the problem clearly... Best wishes for all of you! and this is really a great place! i'm so enjoying being here and learn a lot! ^.^ Thank you! and Happy Thanksgiving! You will when you believe!