hi, this be correct
althrought full .net framwork supports winform subclassing
but .net cf not
you may google by search MessageWindows class
wish this help
Eric
[quoted text, click to view] "Artem_Lyakhov" <Artem_Lyakhov@discussions.microsoft.com> wrote in message
news:A4C39150-3C48-42BA-AD5D-D8F68BF4D7F6@microsoft.com...
> Hi,
>
> I need to subclass a form; i.e. I want to catch wm_ messages. I tried to
use
> ::SetWindowLong(hwnd, GWL_WNDPROC, myDelegate) but without succeess: it
gives
> NotSupportedException at runtime.
>
> Is it possible at all?
>
> --
> Artem