473,529 Members | 2,857 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Double click on Form Title bar

I create a Modal Dialog in C#. and opening with Form.ShowDialog() function.
When I double click on the title bar of the form , it's windows state
becomes Maximized that mean it's size is increazing, but the form is a Modal
Dailog , it should not maximized. How can I prevent from maximize when I
double click on title bar of the form.
Regards
kiran
Nov 17 '05 #1
1 4209
changed the property 'FormBorderStyle' on the winform to 'FixedDialog', the
property 'MaximumBox' to 'False' and the property 'MinimizeBox' to 'False'.

HTH

Ollie Riches

"kiran" <ve*********@gmail.com> wrote in message
news:OO*************@TK2MSFTNGP10.phx.gbl...
I create a Modal Dialog in C#. and opening with Form.ShowDialog() function.
When I double click on the title bar of the form , it's windows state
becomes Maximized that mean it's size is increazing, but the form is a
Modal Dailog , it should not maximized. How can I prevent from maximize
when I double click on title bar of the form.
Regards
kiran

Nov 17 '05 #2

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

Similar topics

7
8416
by: schmendrick | last post by:
Does anyone know how to disable the dbl click on the title bar? I have a full screen progam that I dont want moved or closed or anything. Took care of everything except for the fact that if you double click on the title bar, the form sets itself to half size. Can we disable that somehow?? Thanks! David
1
3756
by: Display Name | last post by:
the customer I'm developing a site for uses a canned form-parsing page that allows her to have an email subscription opt-in page add emails to a list she can manage using a link that you point your HTML form to. the actual form-parsing page resides on a server that's uneditable to me since it sits on an inaccessible server. my problem is...
3
10448
by: snake_2k | last post by:
I need to know how to intercept and neutralize the doubleclick event that happens when someone double clicks the titlebar of a window. I borrowed some encapsulation code that keeps the user from moving the form, and have set the form's min height and width value to its fullscreen values. But when I double click the title bar it flashes the...
3
6048
by: tolisss | last post by:
Hi I have a form with minimize,maximize button=false and startup window state= maximized but when the user double click on the form title bar caption the form's size changes How do i prevent that? *** Sent via Developersdex http://www.developersdex.com ***
5
6891
by: satankidneypie | last post by:
Hi, does anyone have any idea how to trap a double click event in the title bar of a form? I'm wanting to use help icons on titlebars, but this means that I can't have minimize or maximize buttons, and as a compromise I wish to enable a double click on the title bar to either minimize or maximize the form, which is doesn't do if you have...
5
3044
by: tshad | last post by:
I have been working with setting my drop boxes to allow double clicking to select an item. It worked fine until I made some changes. I then stripped the page down to the bare essentials to find out why it quit working. I found that if I didn't have a linkbutton, it quit working????????? If I changed the linkbutton to a regular button,...
3
6314
by: Marty | last post by:
Hi, I stuck on basic thing today... How can I caych the double click event when it is done on the title bar of a form. I just want my form to be expanded or shrinked when the user dbl-click. Thanks, Marty
2
2505
by: HowHow | last post by:
Access 2000. In a form, I have a subform showing simply names and contact numbers. I need a pop up contact form (related contact detail like job title, address, email..ect) when double click on a specific name. This pop up form will not show other contact person but will allow me to do editing or deleting on that specific person that I double...
2
2380
by: Tom | last post by:
Double clicking the title bar to toggle a form between full screen size and the previous size is a great feature. Can someone please explain how to programmatically double click the title bar? The form I am working with does not show any of the sizing, minimize, or close buttons in the title bar. This clean appearance is preferred for...
0
7273
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7514
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. ...
0
7673
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...
1
5203
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
4836
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...
0
3337
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...
0
3332
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1727
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
0
568
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.