Form maximized settings

G

Guest

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
 
D

Daniel Moth

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top