Solved

Capturing NetSend messages

Posted on 2004-03-22
5
184 Views
Last Modified: 2010-04-05
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
0
Comment
Question by:jlleigh
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 

Author Comment

by:jlleigh
ID: 10648956
Points will be upped for a usable solution.

thanx

j
0
 
LVL 5

Expert Comment

by:Hypoviax
ID: 10661939
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('Message 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
0
 
LVL 5

Accepted Solution

by:
Hypoviax earned 20 total points
ID: 13190005
Hmmm... well i sort of gave an answer.

You could use print screen to capture the message when the window appears (scan for 'Message Service' then when found print screen using key_event).

I reckon i deserve the 20 points ;-)

Hypoviax
0
 

Author Comment

by:jlleigh
ID: 13211967
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
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question