p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   Visual Basic 2008 Professionals (http://p2p.wrox.com/forumdisplay.php?f=359)
-   -   Maximum form size (http://p2p.wrox.com/showthread.php?t=78083)

10point1 February 4th, 2010 01:05 AM

Maximum form size
 
Hi,

I'm working with a touch screen and wanted to create a standalone windows form app that is the same size as the screen i.e. fully maximised

The form, without borders only seems to be allowed to be 90% max size.

Is there any way to overcome this limitation ?

Cheers

Waterharbin August 26th, 2010 01:31 AM

Hello,I am a fish here,my words may not be helpful at all.
You can try this:
Code:

Me.WindowState = FormWindowState.Maximized
If that does't work,try this:
Code:

        Me.Left = VB6.TwipsToPixelsX(CSng(GetSetting(My.Application.Info.Title, "Settings", "MainLeft", CStr(1000))))
        Me.Top = VB6.TwipsToPixelsY(CSng(GetSetting(My.Application.Info.Title, "Settings", "MainTop", CStr(1000))))
        Me.Width = VB6.TwipsToPixelsX(CSng(GetSetting(My.Application.Info.Title, "Settings", "MainWidth", CStr(6500))))
        Me.Height = VB6.TwipsToPixelsY(CSng(GetSetting(My.Application.Info.Title, "Settings", "MainHeight", CStr(6500))))

That's what I do with my computer,you may need to change some parameters.
Good luck!

Shasur August 26th, 2010 06:40 AM

Quote:

Originally Posted by 10point1 (Post 253188)
Hi,

I'm working with a touch screen and wanted to create a standalone windows form app that is the same size as the screen i.e. fully maximised

The form, without borders only seems to be allowed to be 90% max size.

Is there any way to overcome this limitation ?

Cheers

Hi

Can you try the following:

http://dotnetdud.blogspot.com/2010/0...f-desktop.html

Cheers
Shasur

Waterharbin August 27th, 2010 04:49 AM

Quote:

Originally Posted by Shasur (Post 262442)

Hello.Sorry to tell you that I just can not open your link.Perhaps my dear government has just censored all overseas websites.And your site has just been filtered.You know,that happens,haha.
But you can send me an e-mail.As many details as possible.

blogradio September 26th, 2011 12:59 PM

C Programming Language (2nd Edition)
 
C Programming Language (2nd Edition)
The authors present the complete guide to ANSI standard C language programming. Written by the developers of C, this new version helps readers keep up with the finalized ANSI standard for C while showing how to take advantage of C's rich set of operators, economy of expression, improved control flow, and data structures


All times are GMT -4. The time now is 04:10 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.