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
4
votes
1 answer

Can I get my minimized Java app to react to files being dropped on it (on Windows)?

Can I get my minimized Java app to react to files being dropped on it (on Windows) so that a user can drag files onto the icon on the toolbar and that will cause my application to reopen and process the the files that were dropped on it. Im using…
Paul Taylor
  • 13,411
  • 42
  • 184
  • 351
4
votes
3 answers

Is it possible to minimize the console in python with the standard librairy (without extra module)?

I wrote a program that uses the console. Most of the time, the user must see the console informations. For a specific function from command line, I would like to run the script without the console rises. I just don't want see the window but it can…
Thammas
  • 973
  • 2
  • 9
  • 14
4
votes
0 answers

Stricly non-negative constraint scipy minimize

I'm trying to use the minimize function from scipy to do curve fitting. I have a 4-parameter equation with bounds constraints on each of them and I'd like to add the constraint that param1 is different from param2 (and if possible param2 > param1).…
mbahin
  • 129
  • 2
  • 10
4
votes
1 answer

C# ProcessWindowStyle.Minimized does not work for PSR.exe

Gurus, I am struggling with a basic function in C#. I am not a develop expert, but I want to develop a PoC for a given customer requirement. Your guidance is welcome. I am using the following peace of code, however, it is not working as expected. I…
4
votes
2 answers

ValueError: No axis named 1 for object type

I´m new to programming. I´m trying to use scipy minimize, had several issues and gotten through most of them. Right now this is the code, but I'm not understanding why I´m getting this error. par_opt = so.minimize(fun=fun_obj, x0=par_ini,…
Eslava Calderón
  • 41
  • 1
  • 1
  • 4
4
votes
0 answers

Error when using multiple constraints with Scipy Optimize Minimize

I'm quite new to Python; I'm trying to put together an portfolio allocation optimiser which essentially minimises portfolio risk given a target portfolio return level, by varying the allocation vector. For this I'm using scipy.optimize.minimize. At…
AButkov
  • 425
  • 1
  • 5
  • 12
4
votes
5 answers

HTML video pause when window is minimized

I have a html file that contains a video. I want to add a feature to pause video when the window is minimized or the tab is changed on browser. How can add that feature to my html? I added javascript function but video is still being played in any…
abidinberkay
  • 1,857
  • 4
  • 36
  • 68
4
votes
3 answers

Is there a way to minimize the app to the background with a button inside the app?

Is there a way to minimize the app to the background with a button inside the app? Some apps do that when you press the exit option. They don't close but put the app in the background... I want to do that with my Ionic app or with a cordova way.
LTroya
  • 530
  • 8
  • 23
4
votes
2 answers

Maximize/Minimize window from another thread

I'm trying to find out the correct way to minimize/maximize a window owned by another thread. My target window can be fullscreen or not (i should be able to minimize and maximize it regardless of its state). I've tried various combinations of…
Tabaqui
  • 427
  • 1
  • 3
  • 11
4
votes
1 answer

Delphi modal login form not restoring after minimizing

I have created a Delphi 2010 application which displays a modal login form via a function before the Application.Initialize. The login form is NOT my main form. This is my login form's code: unit frmLogin_u; interface uses Windows, Messages,…
user3520432
4
votes
0 answers

BFGS Fails to Converge

The model I'm working on is a multinomial logit choice model. It's a very specific dataset so other existing MNLogit libraries don't fit with my data. So basically, it's a very complex function which takes 11 parameters and returns a loglikelihood…
Titanic
  • 557
  • 1
  • 8
  • 21
4
votes
1 answer

Synchronize intersection points of two pairs of curves with fminsearch

I have two pairs of curves and every pair has an intersection point at a different time value (x-value). Now I need to move one curve of each pair equally in x-direction until both intersection points have the same time value/x-argument: These are…
Robert Seifert
  • 25,078
  • 11
  • 68
  • 113
4
votes
1 answer

Minimise Python to System Tray and Generate Notifications?

I've had a look around but haven't been able to find anything to get close to doing what I want. I want to make my Python script launch as a minimised system tray application or have the ability to minimise to system tray and also have the ability…
Ryflex
  • 5,559
  • 25
  • 79
  • 148
4
votes
1 answer

Mathematica: Compile NSolve, NMinimize and other numerical functions

Is there a way to compile those functions using Compile[]? it seems that Mathematica always fails in that. I have purely numerical functions inside NSolve and NMinimize, and it still doesn't work. A tiny example is: tempfunc = Compile[{}, NSolve[x^2…
4
votes
4 answers

C# - Minimize to tray at system startup

In my application, I have an option to start the application when Windows is started. That works great. I also have it so that, when minimized, the application is minimized to the system tray. Is there a way that I could have it be automatically…
user
  • 16,429
  • 28
  • 80
  • 97