|One last question.
I put together this:
void SetCheckbox(int nID, bool state)
CButton *pCB = (CButton *)GetDlgItem(nID);
and so I call:
But when I compile, I get this error:
error C2664: 'GetDlgItem' : cannot convert parameter 1 from 'int' to 'struct HWND__ *'
The function GetDlgItem takes 2-variables, int nID and HWND *phWnd. I tried using null for the 2nd variable (phWnd) but it
wont work. How can I clean this up to work?
Please, any response you can give me will be greatly appreciated.
I have alot of check boxes and need to condense.
Danielle Brina (an overworked graduate student)