|
-
Sep 14th, 2008, 11:43 AM
#1
Thread Starter
New Member
Findwindow & FindwindowEx Help
i used Findwindow Api and i got the handle i wanna but i want add to listbox the handle of each App like (i have 2 notepad opened ) Findwindow will get the first handle i want to know the first and the sec handl and add them to listbox to sendmessage for the selected ...
and i have a sec question :
how can i sendmessage as a keybord Event not as a char
And i tried this code for sendMessage F1
Code Code:
Call SendMessage(FindWindow("Notepad", vbNullString), WM_KEYDOWN, vbKeyF1, 0)
Call SendMessage(FindWindow("Notepad", vbNullString), WM_KEYUP, vbKeyF1, 0)
THX ...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|