Geoff,
What're you trying to do?
>Hi
>
>I am trying to send a message via the API and am having a little trouble understanding just what happens. I managed to find where the main constants are found but am not sure how to link what whith what event code
>
>What I want to do is to send a message for the target app and based on the parameters sent perform a specified action.
>
>I tried placing code in the Activate event and then using the following
>
>#define WM_ACTIVATEAPP 0x001C
>DECLARE INTEGER SendMessage IN user32;
> INTEGER hWnd,;
> INTEGER Msg,;
> INTEGER wParam,;
> INTEGER lParam
>
>
>=SendMessage(hwndnext, WM_ACTIVATEAPP,0,0)
>
>
>but didn't seem to do anything.
>
>Could some kind soul point me in the right direction?
>
>
>Regards
>Geoff Scott
--sb--