|
-
August 13th, 2002, 02:06 PM
#1
Posting WM_KEYDOWN message to externa window in C#
Trying to send a keydown message to separate window. did't find any native C# class to get external windows so i tried to use FindWindow, and SendMessage API functions.
But i can't make it work, looks like the FindWindow method fails, getting diffrent values back each time?
Plz help me!
/B4N WarWulf
-
August 17th, 2002, 03:53 AM
#2
I believe the FindWindow/SendMessage method is the way to go here. Maybe if you could post your code, someone would see what you are doing wrong?
-
August 17th, 2002, 04:53 AM
#3
Manage to find the error.
Solved the problem, had HWND as ulong instead of uint , thanks anyway.
/B4N WarWulf
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
|