473,686 Members | 2,933 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Control Resizing


I have a user control with a heap of windows controls on it.
When the user control gets resized, I want it to wait until the user is
finished resizing before establishing layout.

I am aware of suspend and resume layout funcitons, however am not sure
what event I should be handling. If I use the resize event, then it
redoes layout on every pixel movement, and this can get clunky even
with the two afore mentioned methods.

Thanks in advance.

Feb 7 '06 #1
0 1013

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

Similar topics

by: No One | last post by:
Is there a way to keep a control centered inside a form without having to recalculate everytime the form is resized?
by: Bill English | last post by:
Is it possible to make a user control sizable, so that when the program is running, it can be resized? -- I am a 14 year old C# developer, I am completely self taught, so please don't get mad if I ask a stupid question. Thanks.
by: David W. Simmonds | last post by:
I have a DataList control that has an Image control in the ItemTemplate. I would like to resize the image that goes into that control. I have a series of jpg files that are full size, full resolution (ie. large). I have a database that contains references to the pictures. Currently I have to resize the jpgs manually, and then point the ImageUrl property at that jpg using databinding. This works fine. I would like to avoid the resizing step...
by: One Machete | last post by:
Hi, I have developed a composite control that needs to support resizing in designer. My research turned up no guidance on the best approach for this, and I've found no mention of any design-time events fired upon a control resize or layout change. SO, my current thought is to put recalculation of the sizes and positions of the child controls in the OnPreRender override. Anyone know of any risks I haven't considered or of a better...
by: Chubby Arse | last post by:
Hi all, I have a control, that basically is my own version of the datagrid, except that is renderers purely readonly tabular information. When the control is rendered to the designer, I can click on the control as rendered and move it, however I cannot resize it. I can change the height and Width properties in the PropertyGrid and they change, but the control doesn't resize.
by: Bernie Yaeger | last post by:
Windows forms come with a resize sizegrip at the bottom right of a form, for dynamic resizing. I am trying to do the same thing with any control, say a listbox or a datagrid. Is there a way to attach something like this, that has the functionality I'm looking for? I don't want a generic resizer control that simply allows the controls on a form to resize automatically with the form resize, unless it also provides for individual control...
by: sudeeprgaitonde | last post by:
Hello, I have a Windows Media Control (of fixed size, say 300 X 200) placed on an User Control. This user control is then used in a Windows Form. Now what I want is that this Windows Media Control should prevent the outer Form from resizing below its own size of 300 X 200 (when the Form is being resized to say 299 length and/or 199 width or something less). Thanks in advance.
by: marfi95 | last post by:
how can I get a user control to resize based on resizing the form. there doesn't seem to be any anchor/docking properties associated with it and the controls in the user control resize to the user control.
by: rizwanahmed24 | last post by:
Hello i have made a custom control. i have placed a panel on it. I want this panel to behave just like the normal panel. The problem i was having is that the panel on my custom control doesnt accept other controls. The control i drag drop on it becomes the child of my custom control's parent form and not the child of my custom control. Then i added this line "" before my custom control class (i dont know what this line does). Now
by: igalep132 | last post by:
Hey all, I was trying to resize control size to the form size. I'm changing my form size according to current Screen Size by using Screen.PrimaryScreen.WorkingArea; and then I'm making a resizing to my form. but the main problem is how to resize controls which are embedded to the form ? after googeling and trying some kind of things, i got that the main problem of control resizing is control's font scaling. any idea how to scale the font...
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...
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,...
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
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...
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.