Hi,
From a VC ++ application when i am clicking on a button it is opening a text file in the notepad.(e.g. a.txt in notepad.exe).For this i am using the CreateProcess() as follows.
CreateProcess(NULL,"notepad.exe a.txt", NULL, NULL, TRUE, 0, NULL, "c:\\winnt", &StartupInfo, &ProcessInformation);
It is running succesfully.
But i want the the cursor in the notepad to be positioned in a specific position instead of line number 1.
Pls help me...
I am in big trouble...
Thanks In advance...
Gopinath
From a VC ++ application when i am clicking on a button it is opening a text file in the notepad.(e.g. a.txt in notepad.exe).For this i am using the CreateProcess() as follows.
CreateProcess(NULL,"notepad.exe a.txt", NULL, NULL, TRUE, 0, NULL, "c:\\winnt", &StartupInfo, &ProcessInformation);
It is running succesfully.
But i want the the cursor in the notepad to be positioned in a specific position instead of line number 1.
Pls help me...
I am in big trouble...
Thanks In advance...
Gopinath