Hey dudes,

To send e message from one prog to another, I use this code:
Code:
myHwnd = Findwindow (...)
nCode = "CreateLog"
SendMessage(myhWnd, WM_KEYDOWN, nCode, 1)
Butn, now I'm sending this to the WM_KEYDOWN event, how can I send it to a selfmade sub or function, something like "GetMessages" ??

Thanks
WP