- m
- A System.Windows.Forms.Message that represents the Windows message.
The Control.OnNotifyMessage(Message) method is called if the control's EnableNotifyMessage style bit is set in System.Windows.Forms.ControlStyles. The EnableNotifyMessage style in System.Windows.Forms.ControlStyles enables the control to be notified when the Control.WndProc(Message@) method receives a Windows message. With this method, semi-trusted controls can listen for Windows messages without enabling them to modify the message.