Full Screen in Windows CE 5.0

  • Thread starter Thread starter 6o6o
  • Start date Start date
6

6o6o

Hi i'm having a problem with my windows CE program,
I was trying to hide the taskbar and have my app full screen
but it doesn't work,
it will hide/show the task bar alright but will not maximise the form,
it still doeesn't cover the area where the taskbar usually is!

heres my code so far:

private void Form1_Load(object sender, EventArgs e)
{

int h = FindWindow("HHTaskBar", "");
EnableWindow(h, false);
ShowWindow(h, 0);
Update();
this.WindowState = FormWindowState.Maximized;
Update();
this.Height = Screen.PrimaryScreen.WorkingArea.Height;
Update();


}
private void Form1_Closing(object sender, CancelEventArgs e)
{
int h = FindWindow("HHTaskBar", "");
EnableWindow(h, true);
ShowWindow(h, 1);
Update();


}
 
Hi!

6o6owrote:
Hi i'm having a problem with my windows CE program,
I was trying to hide the taskbar and have my app full screen
but it doesn't work,
it will hide/show the task bar alright but will not maximise the form,
it still doeesn't cover the area where the taskbar usually is!
[...]

Try searching for "Kiosk Mode" or try this code:

http://smartdevelopment.de/forums/thread/207.aspx

hth

Robert

--http://blog.robertsoft.de

Hi, This solution doesn;t seem to work for CE 5.0.

it works ok on the pocket pc emulator but not on my device!

i still get a blank area on the bottom of the screen where the task
bar used to be!
 
You should probably set the window rectangle for your top-level window to
the size of the screen. Where in the order of execution are you calling
SHFullScreen()? Your window would have to exist and be visible for it to
work...

Paul T.

6o6o said:
Hi!

6o6owrote:
Hi i'm having a problem with my windows CE program,
I was trying to hide the taskbar and have my app full screen
but it doesn't work,
it will hide/show the task bar alright but will not maximise the form,
it still doeesn't cover the area where the taskbar usually is!
[...]

Try searching for "Kiosk Mode" or try this code:

http://smartdevelopment.de/forums/thread/207.aspx

hth

Robert

--http://blog.robertsoft.de

Hi, This solution doesn;t seem to work for CE 5.0.

it works ok on the pocket pc emulator but not on my device!

i still get a blank area on the bottom of the screen where the task
bar used to be!
 
Do you have a menu component on your form?

Robert

--
http://blog.robertsoft.de

6o6o said:
Hi!

6o6owrote:
Hi i'm having a problem with my windows CE program,
I was trying to hide the taskbar and have my app full screen
but it doesn't work,
it will hide/show the task bar alright but will not maximise the form,
it still doeesn't cover the area where the taskbar usually is!
[...]

Try searching for "Kiosk Mode" or try this code:

http://smartdevelopment.de/forums/thread/207.aspx

hth

Robert

--http://blog.robertsoft.de

Hi, This solution doesn;t seem to work for CE 5.0.

it works ok on the pocket pc emulator but not on my device!

i still get a blank area on the bottom of the screen where the task
bar used to be!
 
Do you have a menu component on your form?

Robert

--http://blog.robertsoft.de

6o6o said:
Hi!
6o6owrote:
Hi i'm having a problem with my windows CE program,
I was trying to hide the taskbar and have my app full screen
but it doesn't work,
it will hide/show the task bar alright but will not maximise the form,
it still doeesn't cover the area where the taskbar usually is!
[...]
Try searching for "Kiosk Mode" or try this code:
http://smartdevelopment.de/forums/thread/207.aspx
hth
Robert
--http://blog.robertsoft.de
Hi, This solution doesn;t seem to work for CE 5.0.
it works ok on the pocket pc emulator but not on my device!
i still get a blank area on the bottom of the screen where the task
bar used to be!

there is no menu component!

also i use the windowstate.maximised at the end of the form load
function!
should this not work!
 
Do you have a menu component on your form?

Robert

--http://blog.robertsoft.de

6o6o said:
Hi!
6o6owrote:
Hi i'm having a problem with my windows CE program,
I was trying to hide the taskbar and have my app full screen
but it doesn't work,
it will hide/show the task bar alright but will not maximise the form,
it still doeesn't cover the area where the taskbar usually is!
[...]
Try searching for "Kiosk Mode" or try this code:
http://smartdevelopment.de/forums/thread/207.aspx
hth
Robert
--http://blog.robertsoft.de
Hi, This solution doesn;t seem to work for CE 5.0.
it works ok on the pocket pc emulator but not on my device!
i still get a blank area on the bottom of the screen where the task
bar used to be!

there is no menu component!

also i use the windowstate.maximised at the end of the form load
function!
should this not work!
 
Back
Top