Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / August 2005

Tip: Looking for answers? Try searching our database.

Designing a new form

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
thechaosengine - 03 Aug 2005 19:31 GMT
Hi all,

Does anyone know what would be involved in redesigning the look and feel
of the typical windows application form in .net? I've seen applications that
have totally redisigned the look and feel of the form, including the minimize
and maximize and close buttons. The new styles work identically on all the
windows versions that I've seen (98, 2000 and XP)

Can anyone tell me what I would need to do to redesign the Title Bar at the
very least?

Thanks all

Kindest Regards

tce
Paul Cheetham - 05 Aug 2005 09:37 GMT
Hi,

You need to draw all the elements of the form yourself. You need to
override the paint events. (As well as the standard paint event ther are
seperate ones for the non-client areas such as the title bar etc.)
You may also need to override the mouse hit-test events.

It's not a trivial task to do all this, but if you design it right in a
class derived from Form you should be able to use it wherever you want.

Paul

> Hi all,
>
[quoted text clipped - 12 lines]
>
> tce
thechaosengine - 05 Aug 2005 18:44 GMT
Many thanks paul

Kindest Regards

tce

> Hi,
>
[quoted text clipped - 26 lines]
>>
>> tce

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.