473,782 Members | 2,465 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Resolution Headaches - any advice welcome

I'm writing a basic application for use in an office environment. I
dont like the box standard (excuse the pun) windows forms shape, so am
using the transparency trick to hide part of a bmp set to the forms
background, to create the illusion of an irregular shaped form.

I use a 1024x768 screen resolution on a day to day basis, and 1152x864
when designing (one day i'll have a bigger and better monitor!) I'm
troubled in deciding how to best dimension my form application so that
it displays on both 800x600 screens, and 1024x768 screens...

I know that some apps check before startup and suggest a screen change,
but I also know that some apps just 'work' on a number of different
resolutions, microsoft word, internet explorer, ... ad infinitum for
instance.

My Question.
What should I do to create an application that runs nicely on a
1024x768 screen but also works ok on a 800x600 screen setup. Is there a
standard of agreed form sizes depending on what screen you want to
display on? For instance If i was just designing a form for 800x600 i
wouldn't set the form to that exact size, because the windows taskbar
would get in the way of part of the screen and i'd have to allow for
this in my app?

I'd apreciate any resolution (pun intended!) to my problems!

Mar 15 '06 #1
3 1133
vj
Your options are to load the form maximized.. and also use the Anchor/Dock
properties for controls in the form to control their alignment and
position....

Vijay

<ga********@myw ay.com> wrote in message
news:11******** **************@ u72g2000cwu.goo glegroups.com.. .
I'm writing a basic application for use in an office environment. I
dont like the box standard (excuse the pun) windows forms shape, so am
using the transparency trick to hide part of a bmp set to the forms
background, to create the illusion of an irregular shaped form.

I use a 1024x768 screen resolution on a day to day basis, and 1152x864
when designing (one day i'll have a bigger and better monitor!) I'm
troubled in deciding how to best dimension my form application so that
it displays on both 800x600 screens, and 1024x768 screens...

I know that some apps check before startup and suggest a screen change,
but I also know that some apps just 'work' on a number of different
resolutions, microsoft word, internet explorer, ... ad infinitum for
instance.

My Question.
What should I do to create an application that runs nicely on a
1024x768 screen but also works ok on a 800x600 screen setup. Is there a
standard of agreed form sizes depending on what screen you want to
display on? For instance If i was just designing a form for 800x600 i
wouldn't set the form to that exact size, because the windows taskbar
would get in the way of part of the screen and i'd have to allow for
this in my app?

I'd apreciate any resolution (pun intended!) to my problems!

Mar 15 '06 #2
Could you explain the anchor dock properties in more detail please, and
elaborate on how I should set them?

Mar 15 '06 #3
vj
Check this link out... pretty good examples..

http://www.codeproject.com/cs/miscctrl/anchordock.asp

VJ

<ga********@myw ay.com> wrote in message
news:11******** **************@ j52g2000cwj.goo glegroups.com.. .
Could you explain the anchor dock properties in more detail please, and
elaborate on how I should set them?

Mar 15 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
8594
by: dreamer | last post by:
I need to be able to detect different screen resolutions and then resize my applications forms, objects, fonts etc, to suit. Any ideas how to go about it? I use VB 5. Many thanks in advance.
10
1784
by: Prophet | last post by:
when I first started to write my page, I had my settings at 1024 x 768. I then saw the page on a 800 x 600 computer - wow - what a difference!!! I then went back and redid my page at 800 x 600. now when I look at the page at a higher resolution, I am not happy with it. How can I set the users computer (or page) to match what I want it to make the page look it's best???
19
1952
by: mehdi.louizi | last post by:
Hello, I'm beginning to create a web site but I'm facing a big problem for which I didn't find any solution!! I'm using the 1024*768 screen resolution, and when I change it to 800*600 the page is visible but with the scroll bars. So the design is no longer the same.. Same thing if I work on a 800*600 resolution, the page is too ugly to bee seen.. I don't want to work with frames. Concerning the creation of tables with fixed width (100 %),...
3
1855
by: bbcat | last post by:
To practice C language,I began to develop a simple project which implements the management of students' information.I have worked it for one week. I plan to finish it for two weeks. Are there some experienced friends who would like to read my source code and give some advice to me.tks :) --------------------------------------------------------- main.c --------------------------------------------------------- #include <stdio.h>
0
1193
by: Lukas Thanei | last post by:
Hi, Im trying for 2 days to solve a problem but now Im on a point where all ideas exhausted. Im writing a software to print out some cards containing richtext and images. To print the richtext im using an windows api call (Sendmessage EM_FORMATRANGE - http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwinforms/html/wnf_RichTextBox.asp). Because I have to print background images, the richtext background should be
4
2022
by: tony | last post by:
I'm designing a survey form page that will be fairly complex and am becoming confident enough with PHP now to tackle most things. (Thanks to everyone here who has helped) Before I go too far with this I was wondering if anyone could perhaps offer advice or point me to any documents/web pages that could help with ensuring the security of the form/page and site. It is likely that the form will come under attack I expect. Even comments...
1
1039
by: Dewang Ajmera | last post by:
Hi, I am having the problem to set the resolution of the form as per the screen resolution changes from 1024 to 800 so if anyone knows how to do this please let me know through mail. my email is : dew_soft_engg@hotmail.com *** Sent via Developersdex http://www.developersdex.com ***
4
2245
by: | last post by:
I am a recent college graduate and am looking for some advice on how to be a skilled C++ developer. My educational background is from a quite mediocre campus. Can anybody please explain what is expected of a fresh graduate in the industry? I have read starter level books(Stroustrup), and some intermediate books(Herb Sutter's Exceptional Series, Scott Meyers classic guides,C++ Common Knowledge, Efficient C++,Advanced C++ Programming Styles...
7
2475
by: Norman Swartz | last post by:
I want to place some graphic images on the web that are optimally viewed at a resolution of 1024 by 768 pixels. Is it possible, within Javascript,to force a particular screen resolution?
0
10313
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10146
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10080
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9944
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8968
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7494
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6735
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3643
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.