mouse_event

This is a discussion on mouse_event within the Windows Programming forums, part of the Platform Specific Boards category; How in the world would you use this? Link I cannot figure it out......

  1. #1
    Registered User
    Join Date
    Sep 2002
    Posts
    70

    mouse_event

    How in the world would you use this?

    Link

    I cannot figure it out...

  2. #2
    ¡Amo fútbol!
    Join Date
    Dec 2001
    Posts
    2,136
    Well, if you are on windows NT or higher, you shouldn't use it at all.

    If not, the first parameter is a combo of data. You will probably want to combine MOUSEEVENTF_ABSOLUTE with one of the events by using the | operator.

    The second and third parameter will be the x and y coordinates (if you use the MOUSEEVENTF_ABSOLUTE flag then they will be screen coordinates).

    The fourth coordinate should indicate which X button was pushed (normally, this is something like a 4th button on the side of the mouse, the mouse wheel, or any other miscellaneous mouse button). If you aren't sending an X button action, you should set this as 0.

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21