I know Chris Tacke posted about making standard WinForms into non-full
screen, and I see that now CF.NET 2.0 supports this. However, in
terms of dialog boxes, shown by calling ShowDialog, this functionality
does not exist. I am trying to port a Windows CE CF.NET application
to Windows Mobile, and my dialogs look terrible!
http://www.codeproject.com/ce/nonfullscreendialog.asp has an MFC class
to achieve this; has anyone come up with a managed dialog or managed
workaround that enables partial-screen dialog boxes?
jminiman - 29 Aug 2007 18:05 GMT
> I know Chris Tacke posted about making standard WinForms into non-full
> screen, and I see that now CF.NET 2.0 supports this. However, in
[quoted text clipped - 5 lines]
> to achieve this; has anyone come up with a managed dialog or managed
> workaround that enables partial-screen dialog boxes?
I figured it out...somehow, because I was using inheritancy, the
FormBorderStyle was being re-established although in the designer, it
was set to None. When I forced FormBorderStyle to None, the message
box came up as a proper partial window.
Fabien - 30 Aug 2007 08:13 GMT
Hi,
Check out this post on my blog :
http://fabdecret.blogspot.com/2007/05/non-full-screen-window.html
Fabien Decret (Device Application Development MVP)
Windows Embedded Consultant
ADENEO (ADESET)
http://www.adeneo.adetelgroup.com/ | http://fabdecret.blogspot.com/
> > I know Chris Tacke posted about making standard WinForms into non-full
> > screen, and I see that now CF.NET 2.0 supports this. However, in
[quoted text clipped - 10 lines]
> was set to None. When I forced FormBorderStyle to None, the message
> box came up as a proper partial window.
Simon Hart - 30 Aug 2007 22:44 GMT
Lots of people want this type of functionality often a messagebox style
window that you can click 'n hold the title bar to move just like the
desktop. But on Windows Mobile it is not advisable. In fact Microsoft
discourages it even though you see it in many apps today.
If you want your app to be certified then it won't pass if it has these
custom style windows.
I never use these style windows, one of the reasons is it looks clunky on
small devices. It is much cleaner to use a full Window.
See Microsoft's Windows Mobile 5 design guidelines for more information
here: http://msdn2.microsoft.com/en-us/library/ms879586.aspx

Signature
Simon Hart
http://simonrhart.blogspot.com
> I know Chris Tacke posted about making standard WinForms into non-full
> screen, and I see that now CF.NET 2.0 supports this. However, in
[quoted text clipped - 5 lines]
> to achieve this; has anyone come up with a managed dialog or managed
> workaround that enables partial-screen dialog boxes?