StrokesPlus.net
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
IvanYH  
#1 Posted : Sunday, June 28, 2020 11:07:43 PM(UTC)
IvanYH

Rank: Newbie

Reputation:

Groups: Approved
Joined: 6/28/2020(UTC)
Posts: 3
Bulgaria
Location: Sofia

Thanks: 3 times
How can i create a gesture to trigger when i press 'ctrl'+'mouse wheel down' only
Yuichi  
#2 Posted : Wednesday, July 1, 2020 10:39:53 PM(UTC)
Yuichi

Rank: Advanced Member

Reputation:

Groups: Approved
Joined: 9/13/2018(UTC)
Posts: 54
Poland

Thanks: 18 times
Was thanked: 18 time(s) in 13 post(s)
Hi
You mean this?

Place it in: Global Actions -> Mouse Events -> Mouse Wheel Script

Part of Rob's code has been used BigGrin

Code:
if (wheel.Delta < 0 && (sp.GetKeyState(vk.CONTROL) & 0x8000)) {
    sp.MessageBox("ok", "Test");
} else {
    //Default, pass mouse wheel message onto the original control
    wheel.Control.PostMessage(host.cast(uint, 0x020A), new IntPtr(wheel.WParam), new IntPtr(wheel.LParam));
}

Edited by user Wednesday, July 1, 2020 10:45:42 PM(UTC)  | Reason: I forgot where to put it, SCRIPT, I mean script

Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.