jlleigh
asked on
Capturing NetSend messages
I am curious to know if anyone out there has a code solution to cature incoming netsend messages, i.e. stopping the standard windows popup and doing something else with the message, from within own application.
I am looking at this more from interest than any great need but speedy answers would be appreciated, as it is now that this has caught my attention, and if there is a solution then it will come in very hand in the near funture.
Cheers
J
I am looking at this more from interest than any great need but speedy answers would be appreciated, as it is now that this has caught my attention, and if there is a solution then it will come in very hand in the near funture.
Cheers
J
Hmmmm....
I don't know...
Is it possible to capture a windows internal text?
If this is possible then you could have a procedure that scans for the Window caption (i think it is 'Message Service' or somthing similar) then call a procedure that retrieves the internal text.
To scan for the window use the findwindow function:
if findwindow(nil,pchar('Mess age Service')=0 then //(Or null maybe - check)
exit
else
GET_WINDOW_INTERNAL_TEXT
Hope this may help others be more specific and possibly answer your question
Regards,
Hypoviax
I don't know...
Is it possible to capture a windows internal text?
If this is possible then you could have a procedure that scans for the Window caption (i think it is 'Message Service' or somthing similar) then call a procedure that retrieves the internal text.
To scan for the window use the findwindow function:
if findwindow(nil,pchar('Mess
exit
else
GET_WINDOW_INTERNAL_TEXT
Hope this may help others be more specific and possibly answer your question
Regards,
Hypoviax
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I will accept your answer, as the findwindow functionality came in useful elsewhere.
I really wanted to intercept and stop the netsend message being displayed, and re direct it else where... but that was an old project and is long forgotten now, and we ended up using alternatives anyway, as we could find no suitable way of properly catching teh netsend message 'cleanly'
J
I really wanted to intercept and stop the netsend message being displayed, and re direct it else where... but that was an old project and is long forgotten now, and we ended up using alternatives anyway, as we could find no suitable way of properly catching teh netsend message 'cleanly'
J
ASKER
thanx
j