Results 1 to 8 of 8

Thread: form expand in whole screen

  1. #1

    Thread Starter
    Member
    Join Date
    Jun 2006
    Posts
    61

    form expand in whole screen

    Hi there, is there anyway to expand my applications form on the whole pdas screen??
    I mean, i dont want either the upper bar (start, time, volume), nor the down bar (keyboard, options) to show. i want to take full advantage of the screen.

    thanks in advance

  2. #2
    Fanatic Member Strider's Avatar
    Join Date
    Sep 2004
    Location
    Dublin, Ireland
    Posts
    612

    Re: form expand in whole screen

    set the form maximsed to true... this should make the form take up all the screen
    Barry


    Visual Studio .NET 2008/Visual Studio .NET 2005/Visual Studio .NET 2003
    .NET Framework 3.0 2.0 1.1/ASP.Net 3.0 2.0 1.1/Compact Framework 1.0

    SQL Server 2005/2000/SQL Server CE 2.0


    If you like, rate this post

    Compact Framework for Beginners

  3. #3

    Thread Starter
    Member
    Join Date
    Jun 2006
    Posts
    61

    Re: form expand in whole screen

    great!!!thanks

  4. #4
    Fanatic Member Strider's Avatar
    Join Date
    Sep 2004
    Location
    Dublin, Ireland
    Posts
    612

    Re: form expand in whole screen

    what operating system is on the device, windows ce or windows mobile/pocket pc??
    Barry


    Visual Studio .NET 2008/Visual Studio .NET 2005/Visual Studio .NET 2003
    .NET Framework 3.0 2.0 1.1/ASP.Net 3.0 2.0 1.1/Compact Framework 1.0

    SQL Server 2005/2000/SQL Server CE 2.0


    If you like, rate this post

    Compact Framework for Beginners

  5. #5

    Thread Starter
    Member
    Join Date
    Jun 2006
    Posts
    61

    Re: form expand in whole screen

    wow you are fast...i edited my reply, i was setting the width of the form hardcode in my program. took that off and maximized windows state worked fine.
    thanks

  6. #6

    Thread Starter
    Member
    Join Date
    Jun 2006
    Posts
    61

    Re: form expand in whole screen

    moreover, as long as i have the window mazimized, how can i get its width and height? i am using pocket pc 2003 and working on the compact framework

  7. #7
    Fanatic Member Strider's Avatar
    Join Date
    Sep 2004
    Location
    Dublin, Ireland
    Posts
    612

    Re: form expand in whole screen

    just as a follow up, on windows ce its different in that you need to set the taskbar to autohide.....
    Barry


    Visual Studio .NET 2008/Visual Studio .NET 2005/Visual Studio .NET 2003
    .NET Framework 3.0 2.0 1.1/ASP.Net 3.0 2.0 1.1/Compact Framework 1.0

    SQL Server 2005/2000/SQL Server CE 2.0


    If you like, rate this post

    Compact Framework for Beginners

  8. #8
    Fanatic Member Strider's Avatar
    Join Date
    Sep 2004
    Location
    Dublin, Ireland
    Posts
    612

    Re: form expand in whole screen

    what does me.height and .width return when its maximised...
    also since it ll be maximised to the screen size you could use
    Screen.PrimaryScreen.WorkingArea.Height and .Width
    Last edited by Strider; Feb 15th, 2007 at 06:42 AM.
    Barry


    Visual Studio .NET 2008/Visual Studio .NET 2005/Visual Studio .NET 2003
    .NET Framework 3.0 2.0 1.1/ASP.Net 3.0 2.0 1.1/Compact Framework 1.0

    SQL Server 2005/2000/SQL Server CE 2.0


    If you like, rate this post

    Compact Framework for Beginners

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width