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

MaxFunEval option in fmincon

I am trying to implement the fmincon function in MATLAB. I am getting a warning with an algorithm change to evaluate my function (warning shown at the end of post). I wanted to use fminsearch, but I have 2 constraints I need to follow. It doesn't…
Josh
  • 3,231
  • 8
  • 37
  • 58
0
votes
1 answer

Find the combination that minimizes a cost function

I am facing a problem and I would be grateful to anyone that could help. The problem is the following: Consider that we have a vector D = [D1;D2;D3;...;DN] and a set of time instances TI = {t1,t2,t3,...,tM}. Each element of vector D, Di, corresponds…
ToLos Mil
  • 63
  • 1
  • 6
0
votes
0 answers

XNA Fullscreen -> minimizing -> going back -> crash

So, I am making 2D game in XNA. I was always developing it in windowed mode, but now I tried to do fullscreen. It works ok for most parts but the crucial part fails, and that is when I go out of game (defocus) via Windows key or ALT-TAB and then go…
Vili Volcini
  • 327
  • 4
  • 16
0
votes
2 answers

Minimizing a function dealing with seconds and minutes

Can I shorten this function? $mins = $secs - time('u'); function minutes($seconds){ return sprintf( "%2.2dm %2.2ds", floor($seconds/60),$seconds%60);} $mins_left = minutes($mins); echo "Resets in $mins_left.";
homework
  • 4,987
  • 11
  • 40
  • 50
0
votes
1 answer

Selecting that pixel that minimizes the distance

Say I have the following two matrices: >> x = [1 4 3; 6 4 3; 6 9 3; 2 4 3; 5 4 0; 5 3 1; 6 4 7]; >> y = [0 0 1; 1 1 0; 1 1 0; 0 1 1; 0.2 0.8 0.54; 1 1 1; 0 0 0]; Where you can think of x as some image, and y as the degree of membership of each…
Simplicity
  • 47,404
  • 98
  • 256
  • 385
0
votes
3 answers

Variable list-name (optimize/minimize code)

Let's say I have the following code: private void btnArr1(object sender, EventArgs e) { wr("test string1","st1"); } private void btnArr2(object sender, EventArgs e) { wr("test string2","st2"); } private void btnArr3(object sender, EventArgs…
vigri
  • 475
  • 1
  • 5
  • 16
0
votes
1 answer

Finding the pixel that minimizes the distance between two sets

I have a statement trying to implement but confused on how to do so. This is my issue: I have an image where I have set some pixels of interest (region of interest) to the value 1. So, we can say that we now have a set with the following values 1s…
Simplicity
  • 47,404
  • 98
  • 256
  • 385
0
votes
2 answers

Minification folder and subfolders content

Can I minimized and is it useful when the UI is completely in Javascript (ExtJS) ? How can I minimized, a folder and all subfolders (both with .js files) ?
TheBoubou
  • 19,487
  • 54
  • 148
  • 236
0
votes
1 answer

Right click when form is minimized to tray

I overridden the FormClosing event to minimize to system tray when clicked. Here is my code: private void OnFormClosing(object sender, FormClosingEventArgs e) { if (e.CloseReason == CloseReason.UserClosing) { …
Idanis
  • 1,918
  • 6
  • 38
  • 69
0
votes
2 answers

Minimize on close

In short, I have this: private void Form1_FormClosing(object sender, FormClosingEventArgs e) { e.Cancel = true; this.WindowState = FormWindowState.Minimized; this.ShowInTaskbar = false; } And it's not…
Tautvydas
  • 1,268
  • 7
  • 19
  • 33
0
votes
1 answer

Is there a way to hide the standard Facebook Chat Bar (without going offline)?

We're building a Facebook app that is basically a web integrated chat client on a canvas. However, every time a message is entered or received in the app, a corresponding chat window pop up or notification occurs on the standard Facebook chat…
0
votes
1 answer

Matlab: Grouping and minimizing unique column element's index of a matrix

We have the following matrix result: result = Columns 1 through 13 3 1 1 1 1 1 6 2 3 6 2 1 6 4 3 3 5 7 5 10 10 4 10 6 9 8 6 4 4 …
professor
  • 247
  • 3
  • 12
0
votes
2 answers

GWT minimize generated HTML code

I want to reduce size of HTML code, that is generated, for example, by GWT VerticalPanel. How can I do this? Thanks.
0
votes
2 answers

wpf minimize the width of a ToggleButton

Does anyone know a good way to minimize the width of a ToggleButton to only the width of the content plus padding? I've found 500 posts on how to make it stretch, but none for keeping it from stretching to fill the available space.
Klay
  • 1,971
  • 5
  • 26
  • 40
0
votes
0 answers

Hide all open forms including DialogForms

How can I hide all open forms, including all open dialog forms to NotifyIcon? I currently hide the main form using Me.Hide() NotifyIcon.Visible = True NotifyIcon.ShowBalloonTip(1, "WinVault", "You've been lockout due to…
Aron Jay
  • 155
  • 5
  • 11