I think the route I'd try is to write an IMessageFilter and attach it to the
Form. That way you could throw away all requests to move, size or change
state.
The Smart Device Framework[1] provides a CF implementation of Application
that allows adding filters[2], and we have a sample (though not specifically
for this) on using an IMessageFilter to catch events[3].
--
Chris Tacke, Embedded MVP
OpenNETCF Consulting
Managed Code in an Embedded World
www.OpenNETCF.com
[1]
www.opennetcf.com/sdf
[2]
http://www.opennetcf.com/library/sdf/html/95e60c54-04b0-0cd2-fd97-7eca242d7d9c.htm
[3]
http://blog.opennetcf.org/ctacke/PermaLink,guid,3d964f44-dc0e-45b6-94b3-b8e065cc4ce3.aspx
Don said:
Hi,
I have a windows application in C# running on Windows CE 6.0. I don't
want
my application to be movable, resizeable or minimized. I just want it to
be
static on the screen. How do I do it?