StrokesPlus.net Forum
»
General Discussion
»
Scripts
»
failed to pass mouse wheel message on a UWP program
Rank: Member
Groups: Approved
Joined: 4/10/2020(UTC) Posts: 22
Thanks: 8 times Was thanked: 2 time(s) in 2 post(s)
|
Hi, Rob and all I use mouse wheel events, it works well except in the UWP programs. e.g. : snip & Sketch , notepads( uwp program downloa from the microsoft store) in these uwp programs , the mouse whell can not work.
the codes are : //Default, pass mouse wheel message onto the original control wheel.Control.PostMessage(host.cast(uint, 0x020A), new IntPtr(wheel.WParam), new IntPtr(wheel.LParam));
|
1 user thanked sunnyabcd for this useful post.
|
|
|
Rank: Administration
Groups: Translators, Members, Administrators Joined: 1/11/2018(UTC) Posts: 1,349 Location: Tampa, FL Thanks: 28 times Was thanked: 416 time(s) in 354 post(s)
|
That's an old piece of code which is not recommended. Use this instead: Code:sp.MouseWheel(wheel.Point, false, wheel.Delta);
|
2 users thanked Rob for this useful post.
|
|
|
Rank: Member
Groups: Approved
Joined: 4/10/2020(UTC) Posts: 22
Thanks: 8 times Was thanked: 2 time(s) in 2 post(s)
|
Originally Posted by: Rob That's an old piece of code which is not recommended. Use this instead: Code:sp.MouseWheel(wheel.Point, false, wheel.Delta);
Thanks , Rob, this works well.
|
1 user thanked sunnyabcd for this useful post.
|
|
|
StrokesPlus.net Forum
»
General Discussion
»
Scripts
»
failed to pass mouse wheel message on a UWP program
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.
Important Information:
The StrokesPlus.net Forum uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close