PC Review


Reply
Thread Tools Rate Thread

Designing a new form

 
 
thechaosengine
Guest
Posts: n/a
 
      3rd Aug 2005
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

 
Reply With Quote
 
 
 
 
Paul Cheetham
Guest
Posts: n/a
 
      5th Aug 2005

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



thechaosengine wrote:
> 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
>

 
Reply With Quote
 
thechaosengine
Guest
Posts: n/a
 
      5th Aug 2005
Many thanks paul

Kindest Regards

tce

> 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
>
> thechaosengine wrote:
>
>> 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
>>



 
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: designing a form Jeff Boyce Microsoft Access Forms 5 12th Oct 2009 04:22 PM
designing a form chaitu l Microsoft Access Forms 1 1st Oct 2009 01:07 AM
While designing a form, the Form View goes blank, Why? Pheecaitdj Microsoft Access Database Table Design 1 5th Sep 2008 11:08 PM
designing a form M K W Microsoft Outlook Discussion 3 17th Jul 2006 11:43 AM
Designing a form =?Utf-8?B?TGVhbmE=?= Microsoft Outlook Contacts 1 25th Feb 2005 11:41 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:22 AM.