MFC ToolBox
-
HI , I was just trying to create a tool box application but suddenly realised that i have no ideahow to go about doing it. If somebody could guide me how i can go about implementing it I would be very happy to learn and try it out. I also wanted to know... supposing i have a dialogue based application where when i click on a particular choice it should exute some exe. something like if i click on an option from a list it should execute some application. how can i do tht in MFC I know how to write the onselect part. wht should i write inside tht func n how is wht i wanted to know. Thanks.:) U get wht u Give
-
HI , I was just trying to create a tool box application but suddenly realised that i have no ideahow to go about doing it. If somebody could guide me how i can go about implementing it I would be very happy to learn and try it out. I also wanted to know... supposing i have a dialogue based application where when i click on a particular choice it should exute some exe. something like if i click on an option from a list it should execute some application. how can i do tht in MFC I know how to write the onselect part. wht should i write inside tht func n how is wht i wanted to know. Thanks.:) U get wht u Give
If you want to start an executable (or open a file) use this
HINSTANCE nResult = ::ShellExecute(NULL,_T("open"),strPath,strParameters,NULL, SW_SHOW );
where strPath is your document or the path of your executable and strPath are the parameters you may want to send to your executable.