HighTechTalks DotNet Forums  

Form maximized settings

Dotnet Framework (Compact Framework) microsoft.public.dotnet.framework.compactframework


Discuss Form maximized settings in the Dotnet Framework (Compact Framework) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Keven Corazza
 
Posts: n/a

Default Form maximized settings - 12-10-2004 , 11:05 AM






Hi, I'm developing an application for wince that have to run on WinCE devices
and on PPC. PPC maximize automatically the form bu I would like to have a
form maximized, without minimize and maximize button, even on WinCE.

- WindowState=normal
- Minimizebox=true
- Maximizebox=true

On PPC I don't have problem but of course on WinCE the form is not
maximized. So I've created a Conditional constant for WinCE; in this case I
change a runtime the settings in this way:

#ifdef WINCE
WindowState=normal
Minimizebox=true
Maximizebox=true
#endif

Now the form on WinCE is maximized but I see a flickering due to execution
of the instructions above; I see the form that change its size, and then two
flickering because I remove the minimize and maximize button.

How can I avoid this flickering ? Happens only on the emulator or even in
the device ? (I cannot try on a wince device).

Thank you in advance.

Keven Corazza


Reply With Quote
  #2  
Old   
Daniel Moth
 
Posts: n/a

Default Re: Form maximized settings - 12-11-2004 , 08:48 AM






It seems you asked this twice. See my reply to your other post.

Here you mention the emulator. If you refer to the one that ships with VS
note that it is based on CE 4.1. If your device will be a 4.2 I suggest
getting an SDK for it or even better the real thing.

Cheers
Daniel
--
http://www.danielmoth.com/Blog/


"Keven Corazza" <KevenCorazza (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hi, I'm developing an application for wince that have to run on WinCE
devices
and on PPC. PPC maximize automatically the form bu I would like to have a
form maximized, without minimize and maximize button, even on WinCE.

- WindowState=normal
- Minimizebox=true
- Maximizebox=true

On PPC I don't have problem but of course on WinCE the form is not
maximized. So I've created a Conditional constant for WinCE; in this case
I
change a runtime the settings in this way:

#ifdef WINCE
WindowState=normal
Minimizebox=true
Maximizebox=true
#endif

Now the form on WinCE is maximized but I see a flickering due to execution
of the instructions above; I see the form that change its size, and then
two
flickering because I remove the minimize and maximize button.

How can I avoid this flickering ? Happens only on the emulator or even in
the device ? (I cannot try on a wince device).

Thank you in advance.

Keven Corazza






Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.