Re: Catching custom message ...
From: Jeff Johnson [MVP: VB] (i.get_at_enough.spam)
Date: 01/20/05
- Next message: Bob Butler: "Re: addressing system folders"
- Previous message: ZP: "just to clarify ..."
- In reply to: H.B.: "Catching custom message ..."
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 20 Jan 2005 09:16:25 -0500
"H.B." <hbcrdv@_hotmail_.com> wrote in message
news:1106228011.88828@news.drenet.dnd.ca...
> How can I catch custom (user-defined) messages in VB application. The
> messages are posted with PostMessage() in a C++ DLL and I need a way to
> catch them that works like the ON_MESSAGE() macro in C++.
You'd just subclass the window procedure and look at the uMsg parameter to
see if it's your message. Info on subclassing can be found all over the
place. Here are some starters: http://vbnet.mvps.org, www.softcircuits.com,
www.vbaccelerator.com.
- Next message: Bob Butler: "Re: addressing system folders"
- Previous message: ZP: "just to clarify ..."
- In reply to: H.B.: "Catching custom message ..."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|