Search found 13 matches

by Trej
21 Mar 2019, 08:48
Forum: C#
Topic: POC: RawInput mouse via C# CLR
Replies: 23
Views: 35491

Re: POC: RawInput mouse via C# CLR

Hi @evilC,

Is there anyway to modify this to receive messages from the surface dial?

I have no idea where to start in implementing this in AHK.
by Trej
20 Mar 2019, 20:17
Forum: Ask for Help (v1)
Topic: Microsoft Surface Dial - RadialController Class
Replies: 0
Views: 813

Microsoft Surface Dial - RadialController Class

Hi all, I am slowly piecing together a project of mine to enable me to use my Surface Dial with Lightroom. I have made a lot of progress however one of the items I am stumped on and I asking for some help or guidance in the form of a basic script. I don't know how to create a script that recognises ...
by Trej
20 Mar 2019, 09:34
Forum: Ask for Help (v1)
Topic: Slider - same position/on top of each other
Replies: 28
Views: 5340

Re: Slider - same position/on top of each other

Hi @Wolf_II So I went a different way with the flashing and made the text flash. I am running a 1080 monitor with a laptop (Surface Book 2 15inch) so it behaves differently between the two. Slowly piecing it together. Next now is understanding how to call on events from the Surface Dial. Need to wra...
by Trej
19 Mar 2019, 21:31
Forum: Ask for Help (v1)
Topic: Slider - same position/on top of each other
Replies: 28
Views: 5340

Re: Slider - same position/on top of each other

Hi @wolf_II So I have done some more tinkering, and would like to know if I can get some help... I have made the code do what I want it to do, but it is by no means 'clean' :D What I would like to do is when I press the Enter button, I want the sliding bar to flicker/flash for a few moments, and clo...
by Trej
14 Mar 2019, 10:26
Forum: Ask for Help (v1)
Topic: Slider - same position/on top of each other
Replies: 28
Views: 5340

Re: Slider - same position/on top of each other

Hi Wolf, You have said a whole lot of statements that flew way over my head :D What did you mean by VLC having a feature? Also, I am not sure why but when I run the script I can't scroll past 50, it will move only between the top -> middle, but I can drag it down to the bottom. I think it could be m...
by Trej
13 Mar 2019, 23:51
Forum: Ask for Help (v1)
Topic: Slider - same position/on top of each other
Replies: 28
Views: 5340

Re: Slider - same position/on top of each other

Yep, i had the same issue that Wolf had, it worked with the updated script, but buggy when scrolling up.
by Trej
13 Mar 2019, 23:26
Forum: Ask for Help (v1)
Topic: Slider - same position/on top of each other
Replies: 28
Views: 5340

Re: Slider - same position/on top of each other

I am having issues with what I think is the speed which my mouse is sending messages through to the gui. If you want to slow down the scrolling of the slider with the mouse wheel you could change the number 2 in this line this.pos += dir*this.thumb*this.dpi//2 with 4, 6 or 8. That is good to know a...
by Trej
13 Mar 2019, 22:58
Forum: Ask for Help (v1)
Topic: Slider - same position/on top of each other
Replies: 28
Views: 5340

Re: Slider - same position/on top of each other

Hi Teadrinker, Thanks, I will pursue the second option. I am having issues with what I think is the speed which my mouse is sending messages through to the gui. Scrolling down doesn't seem to be an issue, however scrolling back up I need to be very slow with the wheel action. If I go to fast it star...
by Trej
13 Mar 2019, 21:11
Forum: Ask for Help (v1)
Topic: Slider - same position/on top of each other
Replies: 28
Views: 5340

Re: Slider - same position/on top of each other

Hi teadrinker, Thank you heaps for the help, can you tell me what is different between the 1st and 2nd approaches? I have very little programming experience, but have a solid understanding of technology. What I am trying to do is piece together bits of code and learn as I go. To give you context on ...
by Trej
13 Mar 2019, 11:05
Forum: Ask for Help (v1)
Topic: Slider - same position/on top of each other
Replies: 28
Views: 5340

Re: Slider - same position/on top of each other

Got it going up/down. Another question, how do I break it down so it moves in steps of 6 lines. With 6 being the bottom, and 1 at the top? size := 400 height := 400 thumbWidth := 50 WS_CLIPCHILDREN := 0x02000000, WS_EX_COMPOSITED := 0x02000000 Gui, Back: +ToolWindow -Caption +AlwaysOnTop +%WS_CLIPCH...
by Trej
13 Mar 2019, 08:47
Forum: Ask for Help (v1)
Topic: Slider - same position/on top of each other
Replies: 28
Views: 5340

Re: Slider - same position/on top of each other

Hi Teadrinker, that is great!!! Exactly what I have been looking for!!

Follow up questions:

- How can I modify the position in response wheelup/down events?
- How am I able to rotate it 90 degress?
by Trej
12 Mar 2019, 22:30
Forum: Ask for Help (v1)
Topic: Slider - same position/on top of each other
Replies: 28
Views: 5340

Slider - same position/on top of each other

Hi all, I have a question relating to sliders and having two aligned over each other. The idea is I am trying to make a scroll bar. As I understand it, scroll bars can only be used in Listview items. I have modified a bit of code from @Pulover from an archived post in the link below. What I can do, ...
by Trej
10 Mar 2019, 19:38
Forum: Ask for Help (v1)
Topic: GUI List, scrolling mouse wheel and select using middle button
Replies: 0
Views: 554

GUI List, scrolling mouse wheel and select using middle button

Hi all, I’m having some issues with a list based GUI that I’m trying to create. I’ve searched high and low and can’t find anything. I’m after a point in the right direction. I want a bring up a list using the mouse middle button, the list contains text (Text1, Text2, Text3 etc…) that when selected w...

Go to advanced search