I have a button that on creation is disabled using WS_DISABLED but later i need to enable it and I have no clue how to do it.
Help, please.
Type: Posts; User: nineofhearts
I have a button that on creation is disabled using WS_DISABLED but later i need to enable it and I have no clue how to do it.
Help, please.
class RecAdj
{
public:
RecAdj();
char m_invoice_c11[11];
void ReadRec(int number, CListBox* pListBox);
void SaveRecItem(CString filename);
i have tried
CString name = "Bob";
name += " ";
But on the save funtion name becomes "Bob" again. and the spaces are gone.
Heres what i want to happen except i want it to happen with a CString instead of a char []:
char name[10] = "Bob ";
ofstream fout(filename, ios::binary);
fout.write(name,...
Zuk, this solved the problem. Thank you sooooo much.
I get the following error.
C:\unzipped\binary\main.cpp(183) : error C2440: 'delete' : cannot convert from 'class aClass' to ''
Just in random attempts, I have tried many combinations.
I have tried the following but it did not work.
std::list<aClass>::iterator iaClass = aClassList.begin();
while(iaClass != aClassList.end())
{
delete &iaClass;
example
aClass * aObject = new aClass;
std::list<aClass> aClassList;
aClassList.push_back(aObject);
//do lots of stuff passing the list back and forth among functions