Questions tagged [maximize]

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

396 questions
116
votes
9 answers

Disabling Minimize & Maximize On WinForm?

WinForms have those three boxes in the upper right hand corner that minimize, maximize, and close the form. What I want to be able to do is to remove the minimize and maximize, while keeping the close. I also what to make the close minimize the…
sooprise
  • 22,657
  • 67
  • 188
  • 276
53
votes
4 answers

How can I make a WPF window maximized on the screen with the mouse cursor?

According to the MSDN documentation for the WindowStartupLocation Property: Setting CenterScreen causes a window to be positioned in the center of the screen that contains the mouse cursor. Although the MSDN doc for the CenterScreen Field itself…
Eben Geer
  • 3,696
  • 3
  • 31
  • 34
46
votes
5 answers

How to maximize a JFrame through code?

How to maximize a JFrame through code?
Tony Ogrewall
  • 471
  • 1
  • 4
  • 5
40
votes
3 answers

How to make PyQt window state to maximised in pyqt

I am using PyQt4 for GUI in my application. I want to know how can make my window maximized by default. I goggled but did not found an alternate. I tried using below code, but its not for maximized instead it resizes the window to desktop screen…
Rao
  • 2,902
  • 14
  • 52
  • 70
26
votes
3 answers

Maximize and Aero snap on DockableFloatingWindow

I have the following code to give a undocked floating AvalonDock window the ability to maximize: class MaximizableDockableContent : AvalonDock.DockableContent { public MaximizableDockableContent() : base() { …
Andreas
  • 3,843
  • 3
  • 40
  • 53
25
votes
5 answers

Maximize WebDriver (Selenium 2) in Python

I'm attempting to write a simple script that checks if I have any gmail emails labeled SOMETHING and then opens a firefox browser window to a login page, after which it goes to something else. Here's what I'm doing: from selenium import…
Dicky Brucks
  • 251
  • 1
  • 3
  • 3
24
votes
7 answers

How can you make the form maximize to any computer screen in a Windows Forms application?

So I am making a game on Visual Studio C# and I want the form to be automatically maximized to any user's computer screen when compiled? How can I do that?
George Tyler
17
votes
6 answers

Qt hide minimize, maximize and close buttons

Do you know how to hide minimize, maximize and close buttons of title bar in Qt. I especially need to hide it on QMainWindow.
ufukgun
  • 6,889
  • 8
  • 33
  • 55
16
votes
6 answers

Properly maximizing WPF window with WindowStyle=None

There are two problems with WPF windows when the WindowStyle=None option is used. The window covers the Taskbar when maximized. Once maximized, the window cannot be dragged down to unmaximize. How can these problems be corrected? Preferably…
leebickmtu
  • 1,565
  • 2
  • 12
  • 20
16
votes
2 answers

How to make an undecorated window movable / draggable in JavaFX?

I have to create an application in which minimize and maximize button will be disabled. I have used "StageStyle.UNDECORATED" with which the application will not be movable or draggable anymore, so I am searching for any other alternative to make my…
Shreyas Dave
  • 3,815
  • 3
  • 28
  • 57
16
votes
5 answers

Eclipse Juno maximize splitscreen

Yesterday, I downloaded Eclipse Juno and it's pretty nice. Somehow I'm not able to maximize a split screen that shows two Java files. Just one of the two Java files are maximized at the same time. Sure, I could manually close the Package Explorer,…
kon
  • 3,732
  • 3
  • 26
  • 34
14
votes
3 answers

Multi-objective optimization example Pyomo

Any example for multi-objective optimization in Pyomo? I am trying to minimize 4 Objectives (Non Linear) and I would like to use pyomo and ipopt. Have also access to Gurobi. I want to see even very simple example where we try to optimize for two…
Golf Kilo Bravo
  • 143
  • 1
  • 1
  • 5
14
votes
6 answers

DragMove() and Maximize

I have a problem with my custom window (AllowTransparency, WindowStyle=None) in WPF. DragMove() method works good, but when I maximize window, or it maximizing automatically by Windows 7 Aero Snap, this method does not work at all. So I can't unsnap…
Igor Ostancov
  • 143
  • 1
  • 1
  • 4
13
votes
1 answer

Maximize profit in scheduling unit tasks with dependencies

Problem I have n jobs to schedule in P seconds on unlimited number of machines with dependencies between the jobs i.e . for every job there is a set of jobs which are to be scheduled only after this job is finished. The profit for scheduling the ith…
v78
  • 2,803
  • 21
  • 44
12
votes
5 answers

Maximize MDI child form

I'm working on a legacy WinForms MDI application and have some trouble making the child forms behave as I want. My objective is to have the child form always maximized (docked). The problem is, that even if I set MaximizeBox to false the…
Jay
  • 2,141
  • 6
  • 26
  • 37
1
2 3
26 27