-
November 22nd, 2011, 05:44 AM
#1
Listen to Messages of child control
Hi all,
I'm wanting to listen for a specific message sent to a child control of the one I'm working with. Case in point, I have a NumericUpDown and I want to listen to the messages received by it's internal TextBox, so that when I find the one I want (WM_CONTEXT see note*) I can do some processing.
Any thoughts? I've tried checking for changes to the ContextMenu and / or ContextMenuStrip, but neither ever get altered, presumably because its the windows system menu I'm actually looking for.
* WM_CONTEXT pops up the windows system menu for standard controls if it wasn't previously intercepted. There is no corresponding message for when this menu is closed.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|