PC Review


Reply
Thread Tools Rate Thread

How Can I prevent form maximize when double- clicking title bar

 
 
cok119
Guest
Posts: n/a
 
      21st Dec 2006
Hi, all

How can I prevent form maximize when double- clicking title bar ?

thanks


 
Reply With Quote
 
 
 
 
Oliver Sturm
Guest
Posts: n/a
 
      21st Dec 2006
Hello cok119,

>How can I prevent form maximize when double- clicking title bar ?


I hope you can't. Why would you want to? People have been maximizing their
windows in that way for an awfully long time, you shouldn't change that
convention.

Technically, there are ways to prevent a window from being maximized
(first and foremost, setting the property MaximizeBox to false on your
Windows Forms form), but I think it would be pretty difficult to retain
the Maximize box while getting rid of the double-click behaviour.


Oliver Sturm
--
http://www.sturmnet.org/blog
 
Reply With Quote
 
Jason Hales
Guest
Posts: n/a
 
      21st Dec 2006
MaximizeBox = false or by setting the MaximumSize property

On Dec 21, 2:48 pm, "cok119" <cok...@163.com> wrote:
> Hi, all
>
> How can I prevent form maximize when double- clicking title bar ?
>
> thanks


 
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
Preventing a "Maximize" when double-clicking forms top bar =?Utf-8?B?bWljaGFlbA==?= Microsoft Dot NET Framework Forms 4 5th Oct 2006 10:15 PM
Disable button to prevent double clicking Buddy Ackerman Microsoft ASP .NET 4 28th Feb 2006 12:33 AM
passing value from 1 form to another - like double clicking on a grid, opens another form with the related record details kesk Microsoft VB .NET 0 7th Nov 2005 08:49 AM
Hide The window title, Prevent close, maximize, minimize =?Utf-8?B?U2hha2Vy?= Windows XP Internet Explorer 0 16th Jan 2005 01:47 PM
Changing the Default Behavior of Double-clicking to Maximize MR-KEN Windows XP General 2 9th Mar 2004 01:23 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:28 AM.