Hi,
I am writing a help function for my application and to launch it I use
this works fine but I'm wondering if I can catch it when someone press the OK button on the top right hand corner of the help screen.
I tried
Can somebody please help ? What did I do wrong ?
I am writing a help function for my application and to launch it I use
- Code:
CreateProcess(_T("peghelp.exe"), _T("MyHelp.htm"), NULL, NULL, FALSE, 0, NULL, NULL, NULL, π)
this works fine but I'm wondering if I can catch it when someone press the OK button on the top right hand corner of the help screen.
I tried
- Code:
GetExitCodeProcess(pi.hProcess, &dwStatus;)
Can somebody please help ? What did I do wrong ?