473,396 Members | 1,913 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Visual style

Hello there can i read tutorial/instruction/howto to make my windows look
better, in style of WMP 10, ICQ lite...
or even any examples...

thnx...
David.
Nov 16 '05 #1
7 1621
"David" <da*******@hotmail.com> wrote in message
news:u4**************@TK2MSFTNGP09.phx.gbl...
Hello there can i read tutorial/instruction/howto to make my windows look
better, in style of WMP 10, ICQ lite...
or even any examples...


You cannot learn style form someone, although you can follow
examples.

The first problem I encountered when I wanted to
make my screens look good, was to make a palette of the
colours I thought went together well.

There are things yhat you absolutely need on the display.
Move them around until you get an attractive composition.
Once you have made your choices, be consistent in terms
of layout and colours.

If you would like to send me a screenshot, I would be
quite willing to comment.

Leave out the x

pa******@freeler.nl

Nov 16 '05 #2
i asked of there can i finde an example to thet thing...
you know, how to make corners of windows rounded...
and many things...

thanx for reply

"Zach" <no*@this.address> wrote in message
news:97***************************@freeler.nl...
"David" <da*******@hotmail.com> wrote in message
news:u4**************@TK2MSFTNGP09.phx.gbl...
Hello there can i read tutorial/instruction/howto to make my windows look
better, in style of WMP 10, ICQ lite...
or even any examples...


You cannot learn style form someone, although you can follow
examples.

The first problem I encountered when I wanted to
make my screens look good, was to make a palette of the
colours I thought went together well.

There are things yhat you absolutely need on the display.
Move them around until you get an attractive composition.
Once you have made your choices, be consistent in terms
of layout and colours.

If you would like to send me a screenshot, I would be
quite willing to comment.

Leave out the x

pa******@freeler.nl

Nov 16 '05 #3
"David" <da*******@hotmail.com> wrote in message
news:O7**************@TK2MSFTNGP14.phx.gbl...
i asked of there can i finde an example to thet thing...
you know, how to make corners of windows rounded...
and many things...


David,

You should ask questions, people are able to respond to, else
you won't get an answer. Your question was too general to
get a specific answer.

For instance, say: "How do I create a button with rounded corners?"

I don't know the answer to that one, maybe you can do something
with images you create.

Zach.
Nov 16 '05 #4
so, the questuion,
How can I create windows (forms) with rounded corners?

David.
Nov 16 '05 #5
There's a much easier way to round the edges of a windows control. Use the
Windows API function CreateRoundRectRgn(). The abbreviated example below
shows how to do it to a form.

yourform.cs
....
using System.Runtime.InteropServices;
....
[DllImport("Gdi32.dll", EntryPoint="CreateRoundRectRgn")]
private static extern IntPtr CreateRoundRectRgn
(
int nLeftRect, // x-coordinate of upper-left corner
int nTopRect, // y-coordinate of upper-left corner
int nRightRect, // x-coordinate of lower-right corner
int nBottomRect, // y-coordinate of lower-right corner
int nWidthEllipse, // height of ellipse
int nHeightEllipse // width of ellipse
);

public Form1() // Your form's or other control's constructor
{
InitializeComponent();
Region = System.Drawing.Region.FromHrgn(CreateRoundRectRgn( 0, 0,
Width-10, Height-10, 20, 20)); // adjust these parameters to get the look
you want.
}
....

ShaneB
"Zach" <no*@this.address> wrote in message
news:63**************************@freeler.nl...
hi David
what you can do is to use the classes of Graphics to override the Onpaint
method of the form ( where the form is printed ) you may need to read
about
using GDI classes.
check these articles

http://www.devhood.com/tutorials/tut...tutorial_id=24
http://www.dotnet247.com/247reference/msgs/2/11921.aspx
http://www.c-sharpcorner.com/2/gdi_plus.asp

Mohamed Mahfouz
MEA Developer Support Center
ITworx on behalf of Microsoft EMEA GTSC
"David" <da*******@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
so, the questuion,
How can I create windows (forms) with rounded corners?

David.


Nov 16 '05 #6
many thanx
Nov 16 '05 #7
You can create an image of your form with rounded corners and your form will
use this image to determine it's shape:

http://msdn.microsoft.com/library/de...ndowsforms.asp

Greg

"Zach" <no*@this.address> wrote in message
news:63**************************@freeler.nl...
hi David
what you can do is to use the classes of Graphics to override the Onpaint
method of the form ( where the form is printed ) you may need to read about using GDI classes.
check these articles

http://www.devhood.com/tutorials/tut...tutorial_id=24
http://www.dotnet247.com/247reference/msgs/2/11921.aspx http://www.c-sharpcorner.com/2/gdi_plus.asp

Mohamed Mahfouz
MEA Developer Support Center
ITworx on behalf of Microsoft EMEA GTSC
"David" <da*******@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
so, the questuion,
How can I create windows (forms) with rounded corners?

David.


Nov 16 '05 #8

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

Similar topics

1
by: Joe Abou Jaoude | last post by:
I was asked to do the folowing visual effect, and I was wondering if someone knows how to. To view the visual effect , go to this link: http://v4.windowsupdate.microsoft.com/en/default.asp...
0
by: Tom Lee | last post by:
Hi, I'm new to .NET 2003 compiler. When I tried to compile my program using DEBUG mode, I got the following errors in the C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7 \include\xdebug...
2
by: Rob Meade | last post by:
Hi all, My apologies for this post being perhaps slightly off topic, at work I am only able to access MS newsgroups and I was under to find one perhaps more appropriate. My problem..... ...
3
by: Shapper | last post by:
Hello, I am starting 2 new projects to deliver in January 2006. I want to create them in Asp.Net 2.0 using Visual Studio 2005. All my clients web sites are Visual Studio 2003 projects in...
10
by: Robert Jacobson | last post by:
Hi, I'm develing a COM add-in for Microsoft Word XP that displays a form. I'd like to have the form display using the Windows XP theme. However, neither using a manifest nor calling...
0
by: Tim Joyner | last post by:
I am using the EnableVisualStyle to apply visual style to my program. After using this command and starting my main form, the images that I have assigned to controls such as the toolbar and...
2
by: Tim Joyner | last post by:
I am using the EnableVisualStyle command to apply visual style to my program. After using this command and starting the main form, the images that I have assigned to controls such as the toolbar...
0
by: fiona | last post by:
Innovasys Ltd., a leader in help authoring and documentation tools, today announced the inclusion of a tailored version of the Innovasys HelpStudio help authoring product, HelpStudio Lite, in the...
1
by: Bodyboarder20 | last post by:
Anybody know how to accomplish FrontPage or Visual Studio style tab controls? Thanks! (and yes, I have looked...)
1
by: cnixuser | last post by:
Hello, I am having a problem that I believe is related to the way a stream reader object looks for a text file by default. What I am doing is using a StreamReader object to read the text of a text...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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...
0
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...
0
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,...

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.