Home All Groups Group Topic Archive Search About
Author
29 Nov 2007 5:41 PM
Kevin
Hi!
How can I make that my application run in full screen mode?

Thanks

Author
29 Nov 2007 6:45 PM
Kerem Gümrükcü
Hi Kevin,

>How can I make that my application run in full screen mode?

if (this.FormBorderStyle != FormBorderStyle.None && this.WindowState !=
FormWindowState.Maximized)

{

this.FormBorderStyle = FormBorderStyle.None;

this.WindowState = FormWindowState.Maximized;

}

else

{

this.FormBorderStyle = FormBorderStyle.Sizable;

this.WindowState = FormWindowState.Normal;

}

just to give you an example,...

Regards

Kerem

--
-----------------------
Beste Grüsse / Best regards / Votre bien devoue
Kerem Gümrükcü
Microsoft Live Space: http://kerem-g.spaces.live.com/
Latest Open-Source Projects: http://entwicklung.junetz.de
-----------------------
"This reply is provided as is, without warranty express or implied."
Author
29 Nov 2007 6:46 PM
John Timney (MVP)
if its a winforms app try this
http://www.vesic.org/english/blog/winforms/full-screen-maximize/

if its a web app, use javascript

<script language="javascript">
window.moveTo(0,0);
window.resizeTo(screen.availWidth, screen.availHeight);
</script>

Regards

John Timney (MVP)
http://www.johntimney.com
http://www.johntimney.com/blog


Show quote
"Kevin" <Ke***@discussions.microsoft.com> wrote in message
news:A247ACCB-7D0B-42A1-BC76-EE9E58538E60@microsoft.com...
> Hi!
> How can I make that my application run in full screen mode?
>
> Thanks
Author
29 Nov 2007 7:16 PM
Kerem Gümrükcü
Hi John,

>if its a web app, use javascript
> <script language="javascript">
>window.moveTo(0,0);
>window.resizeTo(screen.availWidth, screen.availHeight);
></script>

DOW!....Webapps as fullscreen,...always sound very strange
for me....having a html page covering the entire surface of my
Display,....horrible! ;-)

But what to say,...if he likes that or someone expects this.
Makes some sense for WinForms,...but not for webaps.
I never liked that!

Regards

Kerem

--
-----------------------
Beste Grüsse / Best regards / Votre bien devoue
Kerem Gümrükcü
Microsoft Live Space: http://kerem-g.spaces.live.com/
Latest Open-Source Projects: http://entwicklung.junetz.de
-----------------------
"This reply is provided as is, without warranty express or implied."
Author
29 Nov 2007 9:46 PM
John Timney (MVP)
No - very frowned on practice.  The only instance I would recommend it is in
public kiosks..

Regards

John Timney (MVP)
http://www.johntimney.com
http://www.johntimney.com/blog


Show quote
"Kerem Gümrükcü" <kareem***@hotmail.com> wrote in message
news:eDvAqxrMIHA.1184@TK2MSFTNGP04.phx.gbl...
> Hi John,
>
>>if its a web app, use javascript
>> <script language="javascript">
>>window.moveTo(0,0);
>>window.resizeTo(screen.availWidth, screen.availHeight);
>></script>
>
> DOW!....Webapps as fullscreen,...always sound very strange
> for me....having a html page covering the entire surface of my
> Display,....horrible! ;-)
>
> But what to say,...if he likes that or someone expects this.
> Makes some sense for WinForms,...but not for webaps.
> I never liked that!
>
> Regards
>
> Kerem
>
> --
> -----------------------
> Beste Grüsse / Best regards / Votre bien devoue
> Kerem Gümrükcü
> Microsoft Live Space: http://kerem-g.spaces.live.com/
> Latest Open-Source Projects: http://entwicklung.junetz.de
> -----------------------
> "This reply is provided as is, without warranty express or implied."
>

AddThis Social Bookmark Button