All,
I'm using BMAX and I'm trying to control an external windows application.
So far I can successfully use FindWindow, which returns the handle of the application I want to control.
Then, I'm using PostMessage (or SendMessage), but I'm stuck here; so far I can send a WM_CLOSE message but:
1) How to send keystrokes to an application ? Like the SendKey ala VB..
2) I don't know the windows message code values; for example, the WM_CLOSE message is 16, I can read it from the Win32.bmx, but where to find a complete reference list of the available windows messages code values ?
Anyone ?
Sergio.
I'm using BMAX and I'm trying to control an external windows application.
So far I can successfully use FindWindow, which returns the handle of the application I want to control.
Then, I'm using PostMessage (or SendMessage), but I'm stuck here; so far I can send a WM_CLOSE message but:
1) How to send keystrokes to an application ? Like the SendKey ala VB..
2) I don't know the windows message code values; for example, the WM_CLOSE message is 16, I can read it from the Win32.bmx, but where to find a complete reference list of the available windows messages code values ?
Anyone ?
Sergio.