Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

simulate a right mouse click

0 views
Skip to first unread message

jeroen 02

unread,
Nov 9, 2000, 3:00:00 AM11/9/00
to
hi all

i want to tell windows that when the left mouse button is down the
right mouse button down is and not the left.
or just switch the left mousebutton off during mediaplayer1.play.
like

ssLeft := ssRight;
or
if ssLeft := Down
ssRight := Down;

how can i get this??

Jeroen02

Dirk Claessens

unread,
Nov 9, 2000, 3:00:00 AM11/9/00
to
jeroen 02 <jeroen0...@hotmail.com> schreef in berichtnieuws
6jhl0tke2bfd3l552...@4ax.com...

> hi all
>
> i want to tell windows that when the left mouse button is down the
> right mouse button down is and not the left.

uses Windows;
...
// to swap the mousebuttons
SystemParametersInfo( SPI_SETMOUSEBUTTONSWAP, 1, 0, 0);

// to restore normal action
SystemParametersInfo( SPI_SETMOUSEBUTTONSWAP, 0, 0, 0);


--
Regards,

Dirk Claessens
---------------------------------------------------------
http://www.claessens16.yucom.be
Attention: All spamshields raised; E-mails will bounce!
---------------------------------------------------------

0 new messages