[GD-Windows] Handlig Form/Control messages in Windows Forms without ::WndProc(Message *); method
Brought to you by:
vexxed72
From: Jacobo R. <ffe...@ty...> - 2003-12-04 16:07:02
|
Hello, this is mi first post here, and my english aren't too good, so please forgive my mistakes :) I need to work with the window messages of a control (Form, Button, etc) in Windows Forms, of the .NET framework, and, by design reasons, i can't use ::WndProc(Message *m); .Can i subclass the Form (SetWindowLong(hWnd, GWL_WNDPROC, (LONG)MyNewWndProc); ) without danger? if not, how could i handle the incoming messages to the form/control before they reach to ::WndProc ? Thank You. |