Questions tagged [maximize]

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

396 questions
6
votes
2 answers

maximum of a polynomial

I have a polynomial of order N (where N is even). This polynomial is equal to minus infinity for x minus/plus infinity (thus it has a maximum). What I am doing right now is taking the derivative of the polynomial by using polyder then finding the…
jkt
  • 2,538
  • 3
  • 26
  • 28
5
votes
3 answers

How do you disable the Maximize button in MFC?

How do you disable the Maximize button/capability in an SDI application?
pam
5
votes
2 answers

C++ Windows remove maximize box

I'm using these window styles when calling CreateWindow WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX This disables the maximize box, but is there any way I can completely remove it?
Josh
  • 6,046
  • 11
  • 52
  • 83
5
votes
2 answers

Problem when maximizing window in C++

My program needs to arbitrarily maximize any window on the current desktop. I achieve this by calling ShowWindow(hWnd, SW_MAXIMIZE), where hWnd is the HWND of the window I want to maximize. When that line of code executes, the window in question…
AniDev
  • 1,569
  • 1
  • 18
  • 21
5
votes
1 answer

Efficient scheduling jobs with declining profits on multiple machines

Problem: Consider the scheduling problem of n jobs on M machines where each job i have a processing time pi and gives a profit gi(t) if completed by time t. All the jobs are released at time 0. All gi(t) are non-increasing functions. For simplicity,…
v78
  • 2,803
  • 21
  • 44
5
votes
2 answers

disable maximize capacity in a wpf window

I'm trying to disable the maximize capacity (not the maximize button) in a wpf window, but so far nothing has succeded. I'm using a window with WindowStyle="none", but when I drag the window to the far top of the screen, the OS "maximizes" the…
5
votes
1 answer

Finding N nodes in a graph with maximum spread / distance from eachother

Given a graph with N nodes (thousands), I need to find K nodes so that the average path length between each pair (K1,K2) of K is maximized. So basically, I want to place them as far away as possible from eachother. Which algorithm would I use for…
user134589
  • 2,499
  • 2
  • 16
  • 12
5
votes
1 answer

Algorithm to find the maximum non-adjacent sum in n-ary tree

Given an n-ary tree of integers, the task is to find the maximum sum of a subsequence with the constraint that no 2 numbers in the sequence should share a common edge in the tree. Example: 1 / \ 2 5 / \ …
maverickz
  • 143
  • 1
  • 7
5
votes
2 answers

AllowTransparency makes maximized overscan

I'm currently making a media player using WPF and have come across a problem. I want the layout to have no regular windows borders and a dropshadow. I have done this by setting WindowStyle=none and AllowTransparency=true. This all works very well,…
andidegn
  • 127
  • 8
5
votes
2 answers

Enable Maximize, Minimize and Restore Window in WPF (Manual Resize is disable)

I need to enable the following on my application (C# WPF application): Have normal size of 1024*768 The user can maximize the application The user can minimize the application The user can restore the application (1024*768) The user cannot manually…
Nir
  • 371
  • 2
  • 4
  • 12
5
votes
3 answers

How can I launch emacsclient maximized from the commandline

I am wonder how to start emacsclient in a new maximized frame. emacsclient -c starts a new frame but the man page indicated no way to maximize this frame. There are no such options as --maximized. Warning : this is no a duplicate from the post :…
ppr
  • 685
  • 7
  • 24
4
votes
1 answer

How to make a form float in a workarea as it is the screen (move, size, maximize, minimize)?

I try code published by Freddie Bell at What is the best way to make a Delphi Application completely full screen? question, as is what i needed. I also set minimun size to be the original size. with msg.MinMaxInfo^.ptMinTrackSize do begin …
Speaker
  • 189
  • 2
  • 10
4
votes
1 answer

How to make a window not associated with the application minimize or maximize its window state in vb?

If you have ever noticed in the Task Manager, when you right-click on the running task, you have many options which include 'Minimize' and 'Maximize'. Is there anyway to do achieve this in vb?
user959631
  • 1,004
  • 2
  • 14
  • 34
4
votes
2 answers

Maximize A[i]*B[i] + A[i]*B[j] + A[j]*B[j], i != j, given two unordered lists of positive integers

Can you help me with the algorithm: Given 2 arrays of equal size a[] and b[] with integer numbers greater or equal to 1. Find non-equal indices i and j (i != j) such that the value - max(a[i]*b[i] + a[i] * b[j] + a[j] * b[j], a[i]*b[i] + a[j] * b[i]…
Sergey
  • 43
  • 4
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
1 2
3
26 27