wm-command

How to programmatically select popup menu item in Windows?

I have an app that I'm writing a little wizard for. It automated a small part of the app by moving the mouse to appropriate buttons, menus and clicking them so the user can watch. So far it moves the mouse to a tree item and sends a right-click. That pops up a menu via TrackPopupMenu. Next I move the mouse to the appropriate item on ...

Windows keyboard accelerators and child windows

I have created a Windows GUI program using C and the Windows API, and I want the program to utilise keyboard accelerators. I have set up some accelerators, which are working correctly, but when focus goes to a child Window of my program's main window, such as a list view control or a status bar control, it appears that the keyboard accel...