Questions tagged [minimize]

To minimize is to replace one object with another object that can restore the original when selected.

In a graphical interface, to minimize is to replace one object with another, less obtrusive object that can restore the original when selected. The original object is often a window; the minimized form is often an iconic button located in a system dock, tray or task bar.

849 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
63
votes
3 answers

How do I put a Java app in the system tray?

I have a little control-panel, just a little application that I made. I would like to minimize/put the control-panel up/down with the systemicons, together with battery life, date, networks etc. Anyone that can give me a clue, link to a tutorial or…
user89862
63
votes
8 answers

Minimize a window in WPF?

How do you minimize a window programmatically when using windows WPF? I can seem to find a .Resize attribute?
Erika
  • 2,045
  • 7
  • 25
  • 31
54
votes
17 answers

What do you use to minimize and compress JavaScript libraries?

What do you use to minimize and compress JavaScript libraries?
flybywire
  • 261,858
  • 191
  • 397
  • 503
50
votes
7 answers

How to restore a minimized Window in code-behind?

This is somewhat of a mundane question but it seems to me there is no in-built method for it in WPF. There only seems to be the WindowState property which being an enum does not help since i cannot tell whether the Window was in the Normal or…
H.B.
  • 166,899
  • 29
  • 327
  • 400
46
votes
2 answers

Structure of inputs to scipy minimize function

I have inherited some code that is trying to minimize a function using scipy.optimize.minimize. I am having trouble understanding some of the inputs to the fun and jac arguments. The call to minimize looks something like this: result =…
sedavidw
  • 11,116
  • 13
  • 61
  • 95
42
votes
3 answers

Easiest way to have a program minimize itself to the system tray using .NET 4

I'm making a new WPF application and I need to be able to minimize the application and have nice and snug in the system tray, right beside the clock (or in that general area). This has to work on Windows XP, Vista and 7. I don't have to support…
Only Bolivian Here
  • 35,719
  • 63
  • 161
  • 257
38
votes
3 answers

How to hide a JFrame in system tray of taskbar

I have created a JFrame and want to hide it in the taskbar in windows, but, it should not be visible in the bottom right corner, but hidden in the tray menu items. Can anybody tell me how to do this? Do I need to make some changes in system settings…
Mohammad Faisal
  • 5,783
  • 15
  • 70
  • 117
37
votes
8 answers

How can I automatically compress and minimize JavaScript files in an ASP.NET MVC app?

So I have an ASP.NET MVC app that references a number of javascript files in various places (in the site master and additional references in several views as well). I'd like to know if there is an automated way for compressing and minimizing such…
wgpubs
  • 8,131
  • 15
  • 62
  • 109
35
votes
1 answer

Only show X and minimize button on wpf

I don’t want the user to resize the window so I did ResizeMode="NoResize". But then the minimize button also disappears and only the X button is visible. Is there a way to keep the minimize button?
theknut
  • 2,533
  • 5
  • 26
  • 41
34
votes
6 answers

How to minimize a JFrame window from Java?

In my Java app, I have a JFrame window, how can I minimize it from my Java program ?
Frank
  • 30,590
  • 58
  • 161
  • 244
32
votes
4 answers

Restrict scipy.optimize.minimize to integer values

I'm using scipy.optimize.minimize to optimize a real-world problem for which the answers can only be integers. My current code looks like this: from scipy.optimize import minimize def f(x): return…
nicmet
  • 510
  • 1
  • 5
  • 9
28
votes
2 answers

Is this the only way to teach a Java Frame something about the Aero Snap feature of Windows?

If I minimize a JFrame which was Aero-snapped to the left of the screen by clicking on the minimize-button of the Windows WindowDecoration and unminimize it by Alt-Tabbing or clicking it in the Windows TaskBar, the frame gets restored correctly…
bobndrew
  • 395
  • 10
  • 32
28
votes
9 answers

Does Sublime Text 2 have the ability to region code similar to Visual Studio?

In Visual Studio you can minimize huge chunks of code using regions; they essentially just surround the code and minimize it in the window. Does Sublime have a feature similar to this?
Piper
  • 1,266
  • 3
  • 15
  • 26
23
votes
7 answers

PyQt4 Minimize to Tray

Is there a way to minimize to tray in PyQt4? I've already worked with the QSystemTrayIcon class, but now I would like to minimize or "hide" my app window, and show only the tray icon. Has anybody done this? Any direction would be appreciated. Using…
Gavin Vickery
  • 303
  • 1
  • 3
  • 9
1
2 3
56 57