473,326 Members | 2,175 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,326 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 8782
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: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.