473,657 Members | 2,505 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 8797
set the FormBorderStyle to "FixedDialo g" and set the MaximizeBox and
MinimizeBox props to false.

Ab.
http://joehacker.blogspot.com
"piotrek" <pi************ *@gmail.com> wrote in message
news:b9******** *************** ****@news.chell o.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
7949
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 use JS in my listing, is there a way of using JS to resize a current window, and remove the toolbars etc, so it looks like a pop-up? --
2
10408
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 the same window, just sized differently. Here's the script I'm currently using: <a href="#"...
1
1634
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, with an address bar, a tool bar and a status bar etc showing, the window.document.body.offsetHeight value will be ~200 points smaller than the required size.
4
16241
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 email, but please do not. www.ilopia.com - FAQ and Tutorials for Windows Server 2003
0
1164
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
290
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 square box at the top right is active and not disabled.). Is there a way to disable this? Regards
7
2362
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. Do you know how to do this? TIA
6
2168
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
8392
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8305
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8605
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7324
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5632
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4151
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4302
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2726
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
2
1953
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.