Program is pureref
www.pureref.com
I tried to use Winspector Spy, but nothing
send method is also invalid
How to get the menu message code in qt5 program?
-
- Posts: 16
- Joined: 31 Jan 2015, 09:28
Re: How to get the menu message code in qt5 program?
what does "get the menu message code" mean?
if u want to show the right-click menu, it looks like its just a window thats hidden/shown, so
would reveal it
if u want to show the right-click menu, it looks like its just a window thats hidden/shown, so
Code: Select all
DetectHiddenWindows On
WinShow ahk_class Qt5QWindowPopupDropShadowSaveBits
-
- Posts: 16
- Joined: 31 Jan 2015, 09:28
Re: How to get the menu message code in qt5 program?
https lexikos.github.io /v2/docs/misc/SendMessage.htm Broken Link for safety
"How do I select a menu item when MenuSelect doesn't work with it?!"
I want to get wm_command message
How to operate menu items ?
"How do I select a menu item when MenuSelect doesn't work with it?!"
Code: Select all
PostMessage 0x111, 40239, 0, , "New Message"
Autohotkey2
Re: How to get the menu message code in qt5 program?
why? what do u think/expect sending a WM_COMMAND is gonna help u with?I want to get wm_command message
whats written in the docs may be true(although it doesnt have to be) of native windows apps, written standard old school win32 fashion. what u have here is not a standard win32 app. if the devs didnt bother implementing windows message support(which they obviously havent as indicated by the clear lack of any relevant messages being captured), then theres nothing u can do using Send-/PostMessage()
How to operate menu items ?
- if the app is active, send the appropriate shortcut key combination
- if it isnt active and yet u still want to control it programmatically without activating it, u dont have many options:
- ask the devs to implement windows message support(unlikely that theyll bother since the app is clearly meant to be cross-platform, so implementing something for windows exclusively might as well be considered a waste of time as it wont be applicable to the other 2 platforms)
- prod MSAA/UIA for default actions u can trigger(although its very unlikely this has been implemented either - see point above)
- reverse the app, find out what functions are being called after clicking a menu item, program an injectable dll hooking those functions
Who is online
Users browsing this forum: No registered users and 305 guests