Questions tagged [maximize]

Maximize refers to the process of increasing a certain value to its fullest, biggest, or greatest (max).

396 questions
4
votes
1 answer

Obtain non-maximized window position/size when window is maximized

When users resize and adjust the location of my program's window (Winforms), they expect to see the window in that same position, even after closing and reopening the program. What I do is store the form's Width, Height, Location.X and Location.Y…
Dan W
  • 3,520
  • 7
  • 42
  • 69
4
votes
3 answers

Kendo window disable maximize on double-click

Plunkr: http://plnkr.co/edit/LoMmQ3y4snPrELJz9ZSq?p=preview Can anyone help me on how to disable maximization of the window by double-clicking on its title? I tried to disable the dblclick event with the following code, but it doesn't seem to work.…
Alex Arvanitidis
  • 4,403
  • 6
  • 26
  • 36
4
votes
1 answer

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: …
Manuel Araoz
  • 15,962
  • 24
  • 71
  • 95
4
votes
1 answer

Using min/max operator in integer programming

I am trying to optimize an objective function using integer programming, I have to use Max operator in my function, I want to know is there any way to deal with that? Actually my question is similar to Using min/max within an Integer Linear…
oMiD
  • 322
  • 4
  • 20
4
votes
4 answers

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

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!
clamp
  • 33,000
  • 75
  • 203
  • 299
4
votes
6 answers

Disable maximizing WPF window on double click on the caption

How to disable maximizing WPF window on double click on the caption and leave resizing available? I know that ResizeMode disables maximizing, but it also prevents resizing the form ResizeMode="CanMinimize" I know how to remove maximize and…
Alex Klaus
  • 8,168
  • 8
  • 71
  • 87
4
votes
1 answer

Hide Taskbar on fullscreen WPF

recently i had tried to make task-bar invisible in maximize mode but unfortunately nothing worked. i had some research over MSDN and stack overflow and most of them said make window border equal to none and maximize window.but it didn't worked. BTW:…
user1768685
4
votes
4 answers

How to make a C++ program run maximized automatically?

I need to know whether there is a code for a C++ program to automatically maximize the program window since I always have to maximize the window when I run the program. I'm using Windows 7. I am very much new to C++. Can someone help me? Thanks.
Dishon
  • 121
  • 2
  • 9
3
votes
1 answer

How do I redraw my form after clicking on the Maximize button?

In VB6 I created a form with some textboxes, listboxes, and command buttons on it. I set the X-Y positions of all of these controls using something like control2.Top = form.Height * 0.50 'sets the Y-position control2.Left = form.Width * 0.35 …
MrPatterns
  • 4,184
  • 27
  • 65
  • 85
3
votes
1 answer

Delphi: Maximized Child Form in MDI Application

How can I maximize a child window that fits only the client area but not an entire parent window? I don't want that the child window disappears under a main menu or other controls of the parent window. I have this code procedure WMSIZE(var Msg:…
maxfax
  • 4,281
  • 12
  • 74
  • 120
3
votes
1 answer

Using Rx over events on a WPF UserControl, why does the control receive a mousedown and mousemove when the window is maximized?

This one's got me a bit baffled. I've written some extension methods on UIElement to provide Observables on some of the mouse events. Here are the relevant ones: public static IObservable> ObserveMouseLeftButtonDown(this…
Matthew Walton
  • 9,809
  • 3
  • 27
  • 36
3
votes
0 answers

How do I make Eclipse start maximized?

When I use Eclipse, I like to work with the window maximized. I have to maximize it by hand at every startup, though. It doesn't help to change the shortcut to say Run Maximized, because that works only for the initial "which project do you want to…
Singlestone
  • 2,019
  • 3
  • 16
  • 18
3
votes
4 answers

Finding an approximate local maximas with noisy data in Matlab

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…
Joe Soul-bringer
  • 3,294
  • 5
  • 31
  • 37
3
votes
0 answers

maximize a JFrame in a multi monitor setup

My Swing application uses JFrames. When one of the JFrames is dragged to a second monitor and the maximize button is pressed, it maximizes itself to the size of the (smaller) primary monitor. Can that behavior be fixed?
tbeernot
  • 2,473
  • 4
  • 24
  • 31
3
votes
4 answers

Solving a simple maximization game

I've got a very simple question about a game I created (this is not homework): what should the following method contain to maximize payoff: private static boolean goForBiggerResource() { return ... // I must fill this }; Once again I stress…
Cedric Martin
  • 5,945
  • 4
  • 34
  • 66