Click here to Skip to main content
15,894,343 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: FindWindowEx, 'handle' and notepad.exe Pin
j4v14-Sep-10 14:31
j4v14-Sep-10 14:31 
GeneralRe: FindWindowEx, 'handle' and notepad.exe Pin
David Crow21-Oct-09 16:58
David Crow21-Oct-09 16:58 
GeneralRe: FindWindowEx, 'handle' and notepad.exe Pin
Ismaele.Jr1-Dec-09 0:42
Ismaele.Jr1-Dec-09 0:42 
QuestionRe: FindWindowEx, 'handle' and notepad.exe Pin
Randor 21-Oct-09 11:44
professional Randor 21-Oct-09 11:44 
AnswerRe: FindWindowEx, 'handle' and notepad.exe Pin
Ismaele.Jr22-Oct-09 7:08
Ismaele.Jr22-Oct-09 7:08 
AnswerRe: FindWindowEx, 'handle' and notepad.exe Pin
Adam Roderick J21-Oct-09 18:37
Adam Roderick J21-Oct-09 18:37 
GeneralRe: FindWindowEx, 'handle' and notepad.exe Pin
Ismaele.Jr21-Oct-09 21:13
Ismaele.Jr21-Oct-09 21:13 
GeneralRe: FindWindowEx, 'handle' and notepad.exe Pin
Adam Roderick J22-Oct-09 0:32
Adam Roderick J22-Oct-09 0:32 
i think above steps may be not enough for your requirements, if you have the same requirements as i mentioned above reply then following steps are enough for your goal.

1. FindWindowEx to find the notepad mentioned above.
2. Use SetCursor and mouse_event APIs to create a automated click on the menu File.
3. Generate anotherClick to get open from the menu.
4. GetWindowFromPoint API to get the handle of the open Window.
5. Get the handle of open window, from which you can find Edit for file input.
6. Get the handle of the edit as mentioned above code and set text to the edit as mentioned above code.

Величие не Бога может быть недооценена.

modified on Thursday, October 22, 2009 7:04 AM

QuestionRe: FindWindowEx, 'handle' and notepad.exe Pin
David Crow22-Oct-09 3:39
David Crow22-Oct-09 3:39 
AnswerRe: FindWindowEx, 'handle' and notepad.exe Pin
Adam Roderick J22-Oct-09 18:20
Adam Roderick J22-Oct-09 18:20 
GeneralRe: FindWindowEx, 'handle' and notepad.exe Pin
David Crow23-Oct-09 2:39
David Crow23-Oct-09 2:39 
GeneralRe: FindWindowEx, 'handle' and notepad.exe Pin
Ismaele.Jr22-Oct-09 7:02
Ismaele.Jr22-Oct-09 7:02 
GeneralRe: FindWindowEx, 'handle' and notepad.exe Pin
Randor 22-Oct-09 17:23
professional Randor 22-Oct-09 17:23 
GeneralRe: FindWindowEx, 'handle' and notepad.exe Pin
Adam Roderick J22-Oct-09 18:23
Adam Roderick J22-Oct-09 18:23 
GeneralRe: FindWindowEx, 'handle' and notepad.exe Pin
Ismaele.Jr1-Dec-09 0:45
Ismaele.Jr1-Dec-09 0:45 
GeneralRe: FindWindowEx, 'handle' and notepad.exe Pin
Ismaele.Jr1-Dec-09 0:45
Ismaele.Jr1-Dec-09 0:45 
QuestionDoes CDialog Constructer with nidTemplate attach a Window Pin
ForNow21-Oct-09 6:23
ForNow21-Oct-09 6:23 
AnswerRe: Does CDialog Constructer with nidTemplate attach a Window Pin
Code-o-mat21-Oct-09 11:07
Code-o-mat21-Oct-09 11:07 
AnswerRe: Does CDialog Constructer with nidTemplate attach a Window Pin
Randor 21-Oct-09 11:22
professional Randor 21-Oct-09 11:22 
GeneralRe: Does CDialog Constructer with nidTemplate attach a Window Pin
ForNow21-Oct-09 12:57
ForNow21-Oct-09 12:57 
GeneralRe: Does CDialog Constructer with nidTemplate attach a Window Pin
Randor 21-Oct-09 13:26
professional Randor 21-Oct-09 13:26 
GeneralRe: Does CDialog Constructer with nidTemplate attach a Window Pin
ForNow21-Oct-09 14:20
ForNow21-Oct-09 14:20 
QuestionFull Screen Pin
MrMcIntyre21-Oct-09 5:33
MrMcIntyre21-Oct-09 5:33 
AnswerRe: Full Screen Pin
Richard MacCutchan21-Oct-09 6:22
mveRichard MacCutchan21-Oct-09 6:22 
GeneralRe: Full Screen Pin
MrMcIntyre21-Oct-09 6:27
MrMcIntyre21-Oct-09 6:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.