protected override void WndProc(ref Message m)
{
// process and/or update message
...
// let base class handle the message
base.WndProc(ref m);
// print out message to Debug
Debug.WriteLine(m);
}
Sunday, June 10, 2007
Windows Message Handling, in C#
In C#, we can make a control (e.g., panel, button, textfield, etc) to handle Windows messages that come into the control class by overriding the WndProc method.
Subscribe to:
Post Comments (Atom)
Blog Archive
-
▼
2007
(12)
-
▼
June
(9)
- WPF: getting a data-bound data template and the it...
- The best tutorial about data binding in WPF
- Day of Silence
- LearnWPF.com
- The correct way to repaint a form or control in c#...
- Postable: convert codes to make them show up prope...
- Obtaining mouse x and y coordinates from a Windows...
- Windows Message Handling, in C#
- Dealing with my clutter
-
▼
June
(9)
0 comments:
Post a Comment