autohotkey and Microsoft Foundation Class (MFC)

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
jekko1976
Posts: 97
Joined: 10 Oct 2014, 07:03

autohotkey and Microsoft Foundation Class (MFC)

23 Sep 2022, 03:20

Hello,
In the program that I use, I have this control

Code: Select all

ahk_class Afx:79B60000:b:00010003:00000006:09500CA5
that "should be" generated by Microsoft Foundation Class.
It is a table full of data but I only see the rectangle of the table and I cannot access the data inside.
It is a problem that I am trying to resolve by years.
I have tried with:
-standard "Window spy" function of AHK
-AHKSPY
-AccViewer
-Inspect
-Winspector
-Accessibility insights (UIAutomation)
and none of these tools given me access to the contents of my table.
Looking at the forum I saw very old (and not working) solutions about ahk accessing windows generated by MFC.
Does exist some way to access this type of controls?
The desired operation are really standard:
-click
-choose
-read values
-insert values

Thank you all.
BoBo
Posts: 6564
Joined: 13 May 2014, 17:15

Re: autohotkey and Microsoft Foundation Class (MFC)

23 Sep 2022, 11:07

Not sure if this is of any use for your potential supporters, so JFTR :shh:
For me it looks like COM could do the trick?? :think:

https://www.tenouk.com/visualcplusmfc/
https://learn.microsoft.com/en-us/cpp/mfc/reference/mfc-classes

PS. I've "codeboxed" the controls name above (on your behalf) as otherwise the forum software is converting a part of it to this: :b:
jekko1976
Posts: 97
Joined: 10 Oct 2014, 07:03

Re: autohotkey and Microsoft Foundation Class (MFC)

23 Sep 2022, 15:13

Thank you for the reply, bobo
If anyone is interested to write an inspector and a wrapper for my program, all I can do is to offer a little financial contribute for the trouble (paypal recharge).
You can pm me if you are interested.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: MrHue, Rohwedder, Rxbie, songdg and 340 guests