473,396 Members | 1,914 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

resize window - lock

Is there a posibility to totally lock posibility to resize window?
And to force application not to display a both sided arrow that allows user
to resize window?
Even when i set maximum and minumum window size the arrow is still visible.
Thanks
PK

Nov 17 '05 #1
3 8787
set the FormBorderStyle to "FixedDialog" and set the MaximizeBox and
MinimizeBox props to false.

Ab.
http://joehacker.blogspot.com
"piotrek" <pi*************@gmail.com> wrote in message
news:b9***************************@news.chello.pl. ..
Is there a posibility to totally lock posibility to resize window?
And to force application not to display a both sided arrow that allows user to resize window?
Even when i set maximum and minumum window size the arrow is still visible. Thanks
PK

Nov 17 '05 #2
Hi Piotrek,

you should set the FormBorderStyle property
of the form to FixedToolWindow and the MaximumSize
to the max you wish to have and it will
not be riszable.

Cheers
Lars Behrmann

_________________
Nothing is impossible. UML is the key for all your problems.
AODL - Make your .net apps OpenOffice ready
http://aodl.sourceforge.net/
piotrek schrieb:
Is there a posibility to totally lock posibility to resize window?
And to force application not to display a both sided arrow that allows user
to resize window?
Even when i set maximum and minumum window size the arrow is still visible.
Thanks
PK


Nov 17 '05 #3
Thank you guys
PK
Nov 17 '05 #4

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

Similar topics

14
by: Nigel Mercier ® | last post by:
I'm just starting to learn JavaScript, so far I like it! I want to add some JS to my Ebay listings, to manually open a pop-up window. It works OK, but the JS gets rejected by Ebay. If I can't...
2
by: Fleemo | last post by:
Is there any way to have a browser window resize itself when displaying a new HTML page? I'm using the javascript below to open a NEW window at a certain size, but I'd prefer the page to load in...
1
by: SPG | last post by:
Hi, Please diregard my previous post... I have found out that doing a window.resizeTo(w,h) does not resize the client area tot his size, but the entire window (including tool bars etc). So,...
4
by: Kristofer Gafvert | last post by:
What would be the best way to resize a window (form) when FormBorderStyle is set to None? -- Regards, Kristofer Gafvert - IIS MVP Reply to newsgroup only. Remove NEWS if you must reply by...
0
by: DC Gringo | last post by:
I have an asp.net age that refreshes when I resize the browser window. Is this necessary? I don't have any code in there for that...any ideas? -- _____ DC G
0
by: RJN | last post by:
Hi Sorry for posting again I'm opening a pop-up window using window.open and I have set acrollbars=no, resizable=no. This works fine in IE5.5. But in IE5.0 I can still resize the window(the...
7
by: windandwaves | last post by:
Hi Folk I use a pop-up window on www.wapitipark.co.nz to view images. On some sites, I saw (a long time ago) a trick where they use Javascript to resize the window to the size of the image. ...
6
by: Piotrekk | last post by:
Hi I was wandering if is this possible to resize window in steps different than 1 px. Thanks PK
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
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...
0
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...
0
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,...
0
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...

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.