473,396 Members | 1,871 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.

Determine how a form is resized.

Is there any way to determine that the size of a form is changing due to the user grabing the edge of the form vs. the size being changed in code (e.g., via Form.Size property)? Also, I need to know the desired size before the actual size changes

Thanks
Lance
Nov 20 '05 #1
3 1188
Cor
Hi Lance,

This should be an easy answer or I misunderstood you.

Me.size.height and me.size.width in the form resize event

I hope this helps?

Cor

Nov 20 '05 #2
Thanks for the response, but I was looking for something a little more advanced. Anyway, I think I found it in WndProc

Thanks again
Lance
Nov 20 '05 #3
Thanks for the response, but I was looking for something a little more advanced. Anyway, I think I found it in WndProc

Thanks again
Lance
Nov 20 '05 #4

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

Similar topics

5
by: George Hester | last post by:
Say I have this in a web page: <center><a href="http://www.microsoft.com">www.microsoft.com</a></center> I can use CSS, the DOM and\or JavaScript to determine the width style.innerHTML.length...
1
by: dunkonu | last post by:
I am trying to create a form that if the form is manually resized, the textbox will get resized proportionally to the form. thank
6
by: John Ortt | last post by:
Hi there everyone, I have a part info form which has a faded image of our company logo as a background. I want to replace the faded image with a bright red warning image on items which have run...
11
by: Jozef | last post by:
I have some old code that I use from the Access 95 Developers handbook. The code works very well, with the exception that it doesn't seem to recognize wide screens, and sizes tab controls so that...
1
by: Jon Pope | last post by:
I'm maintaining an internal tool within my organization. Some of my users have resized their system font size by changing the DPI setting from 96DPI to 120DPI (by right-clicking the desktop and...
1
by: Lance | last post by:
Is there any way to determine that the size of a form is changing due to the user grabing the edge of the form vs. the size being changed in code (e.g., via Form.Size property)? Also, I need to know...
3
by: Jules Winfield | last post by:
I've developed a WinForms application that allows users to create a number of child forms within a larger parent form. The child forms can be dragged around within the bounds of the parent. They...
2
by: Rich | last post by:
Hello, If I place a panel control on a form and place a datagrid on the panel, is there a property for the panel to resize with the form? I am sure there is. I just can't remember what the...
3
by: Yuk Tang | last post by:
If I have a panel in which I have placed a maximised form, what's the easiest way to resize the form to automatically fill the panel when the panel is resized? I am using VS 2003. -- Cheers,...
0
by: Paul W | last post by:
Hello everyone, My problem is with an inherited Form. The base Form has a few controls on it that are anchored such that they move as the Form is resized. While in the designer, the inherited...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...
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,...

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.