PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Framework Forms Form Consistency

Reply

Form Consistency

 
Thread Tools Rate Thread
Old 01-06-2005, 06:47 AM   #1
=?Utf-8?B?U2FtZWVy?=
Guest
 
Posts: n/a
Default Form Consistency


Hi,

We have following issues with Windows Forms,

1) When we run our application on two different operating systems,
Windows 2003 and Windows XP, on the XP Machine because of XP themes, the GUI
of the windows forms changes i.e. the font size and colors on the form
changes, the close button (X) on the form gets displayed in red, as compared
to the same application when run on a Windows 2003 Machine.

2) The windows forms appearance aligns with the system appearance.
(i.e. if the user goes to Desktop -> Right Click Properties -> Appearance ->
Color scheme and changes the Color scheme to any other value other than the
default Windows Standard, the windows forms appearance becomes same as system
appearance whereas the requirement is that the windows forms appearance
should have remain unaffected)

Is there any mechanism by which we can make our windows forms appearance
consistent across operating system and independent of system appearance?
Tried with setting AutoScale properties but still changes in the appearance
change the behavior and looks of the form.

Any help would be great.

Thanks,
Sam.


  Reply With Quote
Old 01-06-2005, 10:35 AM   #2
YangHua
Guest
 
Posts: n/a
Default Re: Form Consistency

Is it necessary to make it consistency? Windows XP will look like xp and
2000 like 2000. :-)
But if you customer insists on it..... you can set the forms background
color to a fixed color and set some controls' flat style to "Flat" or
something else except "System"

Regard,
Tony Yang

"Sameer" <Sameer@discussions.microsoft.com> дÈëÓʼþ
news:A077A8E9-DA28-42DB-B883-753F90170E0E@microsoft.com...
> Hi,
>
> We have following issues with Windows Forms,
>
> 1) When we run our application on two different operating systems,
> Windows 2003 and Windows XP, on the XP Machine because of XP themes, the

GUI
> of the windows forms changes i.e. the font size and colors on the form
> changes, the close button (X) on the form gets displayed in red, as

compared
> to the same application when run on a Windows 2003 Machine.
>
> 2) The windows forms appearance aligns with the system appearance.
> (i.e. if the user goes to Desktop -> Right Click Properties ->

Appearance ->
> Color scheme and changes the Color scheme to any other value other than

the
> default Windows Standard, the windows forms appearance becomes same as

system
> appearance whereas the requirement is that the windows forms appearance
> should have remain unaffected)
>
> Is there any mechanism by which we can make our windows forms appearance
> consistent across operating system and independent of system appearance?
> Tried with setting AutoScale properties but still changes in the

appearance
> change the behavior and looks of the form.
>
> Any help would be great.
>
> Thanks,
> Sam.
>
>



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off