Updating progress bar on gui using control Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
Jolio

Updating progress bar on gui using control  Topic is solved

15 Aug 2018, 11:40

I have a few ahk programs running. I need to update a progress bar on a gui using control but the help section does not show how

https://autohotkey.com/docs/commands/Control.htm

I tried

control, [[dont know command]], 36(not sure), msctls_progress32, Meter Report
Jolio

Re: Updating progress bar on gui using control

15 Aug 2018, 12:04

evilC wrote:Control is for making changes to controls on other GUIs.
You change controls in an AHK GUI using GuiControl
Apologies for not being clear

I have 1 program called meter.exe and another metermon.exe

MeterMon.exe has a progress bar on it

I want to update that bar from meter.exe

I know how to update a progress bar using guicontrol but that is only for that programs gui

How do i update a progress bar on another program (made with ahk both)

I thought with control,,, I can do it like i update other parts like dropdown, but I cannot see how to update a progress bar
User avatar
evilC
Posts: 4823
Joined: 27 Feb 2014, 12:30

Re: Updating progress bar on gui using control

15 Aug 2018, 12:20

Use the Window Spy that comes with AHK to find out the ClassNN name of the control
In terms of the commands, dunno. Maybe Choose or one of the Styles?
Maybe make a progress in an AHK script and examine styles etc of it when you change the progress via GuiControl?
jolio

Re: Updating progress bar on gui using control

15 Aug 2018, 12:35

evilC wrote:Use the Window Spy that comes with AHK to find out the ClassNN name of the control
I know the class name msctls_progress32

What do I do now? How do I update the progress bar on another gui now part of the current program?
User avatar
evilC
Posts: 4823
Joined: 27 Feb 2014, 12:30

Re: Updating progress bar on gui using control

15 Aug 2018, 14:09

Sorry, no experience of doing it in other GUIs, I made a progress in an AHK GUI and could find no way to set it's value using Control, so I am not sure it is gonna be easy. You may be able to send it some windows message or something

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Lamron750 and 362 guests