🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.csharpbuilder.language.csharp
Article #690

Re: Receiving a Windows message in .NET

#690
From: Marc Rohloff TeamB
Date: Sat, 30 Oct 2004 14:13
15 lines
1452 bytes
On Sat, 30 Oct 2004 13:07:32 +0100, Ray wrote:

> I want to receive a Windows message in a C# application. I had hoped that 
> there was a means for doing that but can only find the Message class which 
> doesn't seem to be appropriate.
> 
> Presumably I must use interop to overload WndProc but I am not sure how to 
> do this.

You shouldn't need to use interop, just override the WndProc method of
your form.

-- 
Marc Rohloff [TeamB]
marc rohloff at myrealbox dot com
Technical Details
Message-ID: <o61k9i02piws$.dlg@marcrohloff.40tude.net>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!border2.nntp.ams.giganews.com!nntp.giganews.com!news-hub.cableinet.net!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <41838405@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1efe35,199011f4d279395c
X-Google-Attributes: gid1efe35,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Marc Rohloff [TeamB]" <"on request">
Subject: Re: Receiving a Windows message in .NET
Newsgroups: borland.public.csharpbuilder.language.csharp
User-Agent: 40tude_Dialog/2.0.14.1
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
References: <41838405@newsgroups.borland.com>
Date: Sat, 30 Oct 2004 10:13:44 -0400
Message-ID: <o61k9i02piws$.dlg@marcrohloff.40tude.net>
NNTP-Posting-Host: 4.225.98.143
X-Trace: newsgroups.borland.com 1099145644 4.225.98.143 (30 Oct 2004 07:14:04 -0700)
Lines: 15
X-Authenticated-User: mrohloff
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!border2.nntp.ams.giganews.com!nntp.giganews.com!news-hub.cableinet.net!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail