Page 1 of 1

Workaround for DoDefaultAction on a hidden/unavailable menu item

Posted: 27 Oct 2020, 19:06
by Bodhi
Is there a way to press (the default action of) a menu item while it's state is invisible and unavailable (0x8081)? It works as expected via ACC DoDefaultAction when it's visible, but I'd like to keep the menu hidden from the user if possible. The menu is non standard (Qt), so none of the regular methods of menu interaction work.

Within the app there's another menu that works with DoDefaultAction while invisible and whose state never becomes unavailable. So I think it's the unavailable part that is the problem. AFAICT there's no way to change that.

Any help is appreciated!