ok...to make this easier I downloaded a heap of SDK's from Microsoft for their documentation. I have taken the SetDlgItemText from another post that I made and attempted to use it. I found all the information on it but I seem to be having a problem. Here is what I did with it:
Code:
SetDlgItemText(DLG_MAIN, IDC_STATUS, "Completed...");
...but I now get this error about my dialoge box:
Code:
error C2664: 'SetDlgItemTextA' : cannot convert parameter 1 from 'const int' to 'struct HWND__ *'
...I put all of the parameters in the right places just like it said here:
Code:
BOOL SetDlgItemText(
HWND hDlg, // handle to dialog box
int nIDDlgItem, // control identifier
LPCTSTR lpString // text to set
);
Does anybody know what's going on?
(I hopfully wont have this many problems with windows soon becuase I'm going to buy a good windows programming book in like 2 or 3 days)