I get the input which is a file name.
I would like to open it using its windows default
program(like when i get a abc.txt file, id like
to execute it in Notepad).
After opening the application, i need to get a handle to the window. I can do this by enumeratig the windows calling EnumThreadWindows(), sending the ThreadId as one of the parameters.
I have tried doin so using ShellExecuteEx(), but
i am unable to get the handle of the window. Is there a way i could get the handle of the program i created using ShellExecuteEx()
Thanks,
Preetham.
I would like to open it using its windows default
program(like when i get a abc.txt file, id like
to execute it in Notepad).
After opening the application, i need to get a handle to the window. I can do this by enumeratig the windows calling EnumThreadWindows(), sending the ThreadId as one of the parameters.
I have tried doin so using ShellExecuteEx(), but
i am unable to get the handle of the window. Is there a way i could get the handle of the program i created using ShellExecuteEx()
Thanks,
Preetham.