I'm having 2 major problems right now. First, I need to find out how to disable a button(stop laughing, I'm new). I also need to know how to Winexec something and after that's done, Winexec something else. Please help.
Printable View
I'm having 2 major problems right now. First, I need to find out how to disable a button(stop laughing, I'm new). I also need to know how to Winexec something and after that's done, Winexec something else. Please help.
I don't know about the second question (I still pretty new at this too), but I do know the first one. Just use something like this...
CButton* pB = (CButton*)GetDlgItem(IDC_BUTTONNAME);
pB->EnableWindow(FALSE);
Try ShellExecute() or ShellExecuteEx()
Sally