R
Randy
Hello,
I've been trying all day to add some Strings to a combobox. But it
doesn't seem to work. So I beg you for some help!
This is what I did:
void CBPLCgeneratorDlg::OnCbnSelchangeCmdname()
{
extern Ccombo* cmdname;
cmdname.AddString("Test");
}
cmdname is the variable of my combobox
Ccombo is the class I made.
But I still get this error:
error C2228: left of '.AddString' must have class/struct/union type
Please help me!
Thx Randy
I've been trying all day to add some Strings to a combobox. But it
doesn't seem to work. So I beg you for some help!
This is what I did:
void CBPLCgeneratorDlg::OnCbnSelchangeCmdname()
{
extern Ccombo* cmdname;
cmdname.AddString("Test");
}
cmdname is the variable of my combobox
Ccombo is the class I made.
But I still get this error:
error C2228: left of '.AddString' must have class/struct/union type
Please help me!
Thx Randy