Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
|
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 12th, 2004, 04:01 AM
Authorized User
 
Join Date: Apr 2004
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default how to know the size(x,y) of the scream

hello
I want to make my winApp start at the right side of the scream,i want to use form.location but i dont know the wide
of the scream.

or is there any other way to put the winApp at any position
of the scream.


 
Old July 12th, 2004, 11:32 AM
Authorized User
 
Join Date: Jun 2004
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Check this out:
http://msdn.microsoft.com/library/de...oundsTopic.asp

 
Old July 12th, 2004, 07:40 PM
Kep Kep is offline
Authorized User
 
Join Date: Aug 2003
Posts: 79
Thanks: 0
Thanked 0 Times in 0 Posts
Default

There is a class in the System.Windows.Forms namespace called SystemInformation.

This class has a number of members for getting screen details, it depends what you want. The members your interested in are:-

WorkingArea
PrimaryMonitorSize
VirtualScreen

Depending on your solution one of these should give you what you need.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Size of text box depending on size of another box AstridVM BOOK: Access 2003 VBA Programmer's Reference 0 March 7th, 2007 06:24 AM
Windows size ming1 C# 2005 1 October 14th, 2006 02:41 PM
Page Size HelmutArnold Reporting Services 0 October 6th, 2006 08:47 AM
Screen Size bmains VB.NET 11 June 28th, 2004 02:41 AM





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