maximize

Reserving Desktop Space so maximized windows don't cover it.

Hi, I'd like to "reserve" a portion of the screen so that maximized windows don't cover that area (think taskbar(Win) or dock(mac). I've seen other programs that have done this, but really have not liked them and since I'm in the business, thought I might have a hand at it... at least for my personal use. I prefer to use a VS supporte...

Showing the Restore Button without a Maximize button

I want to prevent the user from maximizing the Windows Form to full screen so I have disabled the Maximize button. However, I want to be able to have the user 'restore' the Form. When they click the Restore button I want it to show a different, smaller, minified, form, which will show them a maximize button which will return the use to t...

WPF - Maximizing app window does not expand controls vertically - horizontally it does

when I press the Maximize button on my WPF app, all the controls therein expand perfectly horizontally, but they do not expand to fill the window vertically. I figure it Maximize handles it horizontally, it should handle it vertically as well. Should I be setting a property somewhere on each control? I can catch the Resize event, but ...

Form Resizing and Maximizing

I am preventing the user from resizing the form. How do I also remove the maximize button? ...

How do you make a window to fill the entire screen?

Can someone give me a pointer on how to make a window in Shoes to fill the entire screen? I am looking to have a window that is akin to Writeroom. Thanks. ...

Adobe AIR app fit screen(maximize) by itself

Is there a way to make an Adobe AIR app fit screen(maximize) by itself when it's launched? ...

Maximizing WPF Doesn't Update Width?

The width property of the screen doesn't seem to update to the fully maximized width when maximizing a window. If I resize it everything works fine, but not when maximizing. The code I have is as follows: private void Window_SizeChanged(object sender, SizeChangedEventArgs e) { UpdateColumns(); } private vo...

How to maximize power used by my application in C#?

Hi, As I've created the application that is hard on calculations -> lots of work to do, not very complex calculations -> it takes too long to work it out and the process is only at 45% of the CPU. Can I maximize it somehow?: to go to 90%? ...

Finding an approximate local maximas with noisy data in Matlab

Hi, The matlab FAQ describes a one-line method for finding the local maximas: index = find( diff( sign( diff([0; x(:); 0]) ) ) < 0 ); But I believe this only works if the data is more or less smooth. Suppose you have data that jumps up and down in small intervals but still has some approximate local maximas. How would you go about f...

How do you disable the Maximize button in MFC?

How do you disable the Maximize button/capability in an SDI application? ...

C# Tell If Form Is Maximising

Ok heres my problem. I have a form that when it is not maximised, its maximum size has to be the total height of the components inside the form. To achieve this, i use this: private void resize_form(object sender, EventArgs e) { this.MaximumSize = new System.Drawing.Size(1000, this.panel4.Height + this.label2.Height + this.HeightMin...

Maximize child window of other application (VB .Net)I'

I'v used findwindowex to find the child window. I used findwindow to find the big application, and I found that with spy++. I know that it is the right one because I'm able to sendkeys to it and they work. I'm trying to maximize it but it does not work. I tried to do the showwindow call and use the 3 costant to maximize it, with no luck....

Repaint frame when resized?

How would I force a Frame to repaint() immediately after it is maximized, or resized? I can't find what method is called when that specific operation takes place. I have a bunch of graphics that are written with Graphic objects in paint and their orientation depends on the real time feedback from getWidth() and getHeight() but paint isn...

Maximize Components Too

I have a Windows Forms application that on it I have a RichTextBox, like this: At this size it's all ok, but if the user maximaze or resize the window, the RichTextBox stays at the same size, but how to resize the RichTextBox too? ...

.NET/WinForms: maximize a window on a specific screen

hello, i have a dual monitor setup and i want my c# application to maximize its window on a specific Screen. how can i do that? thanks! ...

Using C# FormWindowState to restore up?

Hello, I'd like to detect if my application is minimized under certain situations, and if it is, the window needs to be restored. I can do that easily as follows: if(this.WindowState == FormWindowState.Minimized) { this.WindowState = FormWindowState.Normal; } However, what happens if the user first maximizes the form, then minim...

Enable Maximize, Minimize and Restore Window in WPF (Manual Resize is disable)

Hi, I need to enable the following on my application (C# WPF application): 1) Have normal size of 1024*768 2) The user can maximize the application 3) The user can minimize the application 4) The user can restore the application (1024*768) 5) The user cannot manually resize the application by draging its border. There isn't any ResizeM...

Maximising a form over 2 Screens

My customer want me to change the default maximise-buttons functionality to maximise the form over all screens the customer have. I have already written some code to measure the correct rectangle to put the form to, but when i assign it to the MaximisedBounds attribute of the form, there are some issures: The screen (in my 2 screen tests...

more pythonic way of finding element in list that maximizes a function

OK, I have this simple function that finds the element of the list that maximizes the value of another positive function. def get_max(f, s): # f is a function and s is an iterable best = None best_value = -1 for element in s: this_value = f(element) if this_value > best_value: best = element...

How to disable maximize button in delphi program?

How to disable maximize button in delphi program? ...