473,387 Members | 3,750 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,387 software developers and data experts.

.NET application resizing issue

We are seeing an issue with occasional instances of clients reporting .NET applications are not restoring properly after having been minimized. Initially we thought it was an issue with the application until we noticed that once this was happening it also affected other .NET applications.

Basically, all you see if the Title bar after restoring the application. It isn't even the full size bar. It will be about 3 inches wide, you will see the top left icon, part of the application name, and the minimize/restore/close buttons.

Additionally, in some instances the application will restore off-screen and you have to right-click the item on the taskbar and choose move. If you maximize instead of restore then you can see the application full-screen but you can't minimize or restore the application.

Has anyone ever seen this? I'm kind of at a loss right now. I know the users are running under a fairly strict group policy but I don't know if that could impact the behavior or not.

Any help or ideas would be greatly appreciated.

Thanks
Aug 21 '08 #1
2 882
Plater
7,872 Expert 4TB
That is strange, I've not heard of that.
Are you making any calls to win32 API, like any SHELL commands are anything that would cause the other applications to go loopy?
It sounds like the .NET CLR is loosing its information on the size/orientation of Display/Screen devices. And possibly also previous window location.
Aug 21 '08 #2
tlhintoq
3,525 Expert 2GB
Thought 1:
Nearly all of my apps use the same 'skeleton' of base code as a start point, and that skeleton include methods for resizing and repositioning a window after events like SizeChanged. Any chance your applications do something similar, so one code change has rolled out to multiple programs in revision updates?

Thought 2:
You mentioned strict policies... If the applications are trying to do their own window position save/restore methods but the user doesn't have permission to read/right from the registry or wherever you are saving the data, will the application respond well if it receives 'null' width, height, location values?

Or the values could be corrupt: Are they just trusted or is some range checking taking place to see that a location of {-1920,-400} is even on the current user's desktop?

Thought 3:
Could values from one workstation (user Bob on station 4 that has 3 monitors) be getting applied when he logs into a different station? (user Bob on station 2 that only has 1 monitor) because all values come from the user's directory on the server regardless of which workstation he uses?
Aug 22 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: TJ Talluto | last post by:
<facts> I have a "month calendar" that always displays exactly 42 days... and alongside is a vertical box that displays the detail (form fields) of any particular select event that appears on the...
7
by: Kjell | last post by:
H I'm a former VB programmer and I have a issue with Arrays in C If I can't tell the size in advance how can I solve the issue since C# does not suppor resizing arrays like VB do (i.e. Redim...
8
by: Chris | last post by:
Hi, In design mode I built some windows with some controls (e.g. listboxes, labels, chgeck boxes etc.) in it, and I did set the property for the window size is set to normal. Now, when I run...
12
by: Søren Reinke | last post by:
Hi there I have a little problem. How do i make sure that a graph is not redrawn while the form with the graph is being resized ? I have tried to add a mouse up/down event handler on the...
11
by: Sharon | last post by:
I'm writing a new control derived from UserControl. I need to get an event when the control is done resizing. I tried the Resize, SizeChanged, Move and the Layout events and I also tried to...
3
by: Pitcairnia | last post by:
The basic purpose of the site is for authenticated users to post event listings, which often include photographs. The user is faced with a page where they can insert all of the information about...
13
by: Martin Ho | last post by:
I know this must be trivial for many of you. But I am playing with this and can't figure it out. I have a form, on that form is one panel which has 3 textboxes, when I run my program and...
3
by: PCgeek | last post by:
sorry moved this over to javascript forum, didn't mean to post 2x! Hi guys, I'm trying to put the finishing touches on my website and could really use some help on this particular issue. My page...
9
by: dli07 | last post by:
Hello, I'm trying to convert a piece of code that creates a dynamic vertical resizing bar in a table from internet explorer to firefox. It's based on a post from...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: 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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...

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.