Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Compact Framework / August 2007

Tip: Looking for answers? Try searching our database.

Non-full screen dialog box in Windows Mobile?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
jminiman - 29 Aug 2007 18:00 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
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?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.