Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

T_INPUT struct and SendInput() fn.

ahasan
Beginner
877 Views
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
0 Kudos
2 Replies
anthonyrichards
New Contributor III
877 Views
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.
0 Kudos
ahasan
Beginner
877 Views
Thanks Anthony! SendMessage did do the job.
0 Kudos
Reply