Mahesh kumara

There are some messages which are sent to all top level windows by Windows CE Operating System.
For Example - Power on/off 
(537 - WM_DEVICECHANGE)


By subclassing a window procedure those messages can be monitored.(using MessageWindow class)
I want to know whether the Sytem Error Messages are sent to the all top level windows by OS or not
Is there a way to monitor System Error Messages in compact framework

Thank You
Mahesh Kumara






Re: .NET Compact Framework System Error Messages in WIndows CE

timg_msft

Someone on the windowsmobile team would need to tell you if error messages are sent to all top level windows.

You can subclass your toplevel window with the code in the following articles and inspect any messages before forwarding them to the underlying wndproc.

See this article for more information: "Subclassing controls in .NETCF 2.0"

part 1: http://blogs.msdn.com/netcfteam/archive/2005/05/20/420551.aspx

part 2: http://blogs.msdn.com/netcfteam/archive/2005/05/23/421143.aspx

Windows Mobile API:

microsoft.public.pocketpc.developer

microsoft.public.smartphone.developer

Windows CE API:

microsoft.public.windowsce.embedded

General programming (not VisualStudio related):

microsoft.public.windowsce.app.development

Native compilers:

microsoft.public.windowsce.embedded.vc

ActiveSync:

microsoft.public.pocketpc.activesync