473,937 Members | 8,572 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1637
"David" <da*******@hotm ail.com> wrote in message
news:u4******** ******@TK2MSFTN GP09.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******@freele r.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.addre ss> wrote in message
news:97******** *************** ****@freeler.nl ...
"David" <da*******@hotm ail.com> wrote in message
news:u4******** ******@TK2MSFTN GP09.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******@freele r.nl

Nov 16 '05 #3
"David" <da*******@hotm ail.com> wrote in message
news:O7******** ******@TK2MSFTN GP14.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 CreateRoundRect Rgn(). The abbreviated example below
shows how to do it to a form.

yourform.cs
....
using System.Runtime. InteropServices ;
....
[DllImport("Gdi3 2.dll", EntryPoint="Cre ateRoundRectRgn ")]
private static extern IntPtr CreateRoundRect Rgn
(
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
{
InitializeCompo nent();
Region = System.Drawing. Region.FromHrgn (CreateRoundRec tRgn(0, 0,
Width-10, Height-10, 20, 20)); // adjust these parameters to get the look
you want.
}
....

ShaneB
"Zach" <no*@this.addre ss> 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*******@hotm ail.com> wrote in message
news:%2******** ********@TK2MSF TNGP10.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.addre ss> 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*******@hotm ail.com> wrote in message
news:%2******** ********@TK2MSF TNGP10.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
1726
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 (windows update) In the left pan, click on pick updates to install then choose windows 2000(11). in the page displayed, click on the add or remove buttons,and the text goes to the left-right. I want to produce this in my application. any thoughts ?
0
6166
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 file as folows. I need help to resolve them ASAP: cl /c /nologo /MDd /W3 /Od /GR /GM /Zi /GX /D "_DEBUG" /D " WIN32" /D "_W INDOWS" /D "_WINDLL" /D "_AFXDLL" /D "_MBCS" /D "_USRDLL" /
2
2291
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..... Visual Studio defaults to having this DOCTYPE at the top of my web forms.
3
2327
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 Asp.Net 1.1 / VB.NET. These web sites use Access Databases and NOT Microsoft SQL 2000. In the future I will need to make a few changes now and then to this web sites.
10
14392
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 Application.EnableVisualStyles does the trick. (EnableVisualStyles works but massive instability, probably because the system is trying to theme the Word application itself.) I'm now trying to selectively enable the themes for just my form, or just...
0
795
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 treeview control don not display. The text shows up, but no image. Has any one else seen this issue. I am applying visual style using the following command: Sub Main()
2
1241
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 and treeview control do not display. The text shows up, but no image. Has any one else seen this issue. I am applying visual style using the following command:
0
3364
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 Microsoft Visual Studio 2005 Software Development Kit. By providing a full help authoring environment within the Visual Studio 2005 SDK, Innovasys is providing developers building components and products that integrate with Visual Studio 2005 a...
1
1960
by: Bodyboarder20 | last post by:
Anybody know how to accomplish FrontPage or Visual Studio style tab controls? Thanks! (and yes, I have looked...)
1
2906
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 file which includes some html code to populate html formatted content as the text of an asp:label (<asp:label>). The reading of the text file itself goes just fine ;however, this only occurs when I use an absolute file path which will not work of...
0
10123
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
11503
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
11081
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
11269
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
10641
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
9846
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...
0
7373
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
6066
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4895
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.