- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I was trying to send a simulated mouse left button down message, but ran into two snags:
First snag: T_INPUT structure is not defined so I am using the T_INPUT_RECORD structure (found in dfwinty) in its place. Is this OK?
Second snag: the SendInput() function does not seem to be defined either, but can't find another function to take its place.
Or is there a better way to send a simulated mouse left button down message?
Any pointers would be appreciated. Thanks
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Where do you want to send the mouse message? If to a particular window, whose handle you know or can find, then you can use SENDMESSAGE.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Anthony! SendMessage did do the job.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page