minimize

minimizing runtime of calculating several ranks (based on grades) on large sql tables, how short can it get (ms access)

Hi everyone, I've been stuck with the rather famous problem of ranking students by grade for a couple weeks now, and while I've learned much, I still haven't solved my problem (the ranks are generated, but the process is too slow): I have a large table (320,000 rows) that contains the student codes (serves as an identifier, instead of t...

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

Hi, I need to enable the following on my application (C# WPF application): 1) Have normal size of 1024*768 2) The user can maximize the application 3) The user can minimize the application 4) The user can restore the application (1024*768) 5) The user cannot manually resize the application by draging its border. There isn't any ResizeM...

Minimize python distribution size

The hindrance we have to ship python is the large size of the standard library. Is there a minimal python distribution or an easy way to pick and choose what we want from the standard library? The platform is linux. ...

How I can replace the command of the minimize button?

First, sorry for my bad english :) Second, I can know when the form is being moved/resized, using this code: protected override void WndProc(ref Message m) { if (m.Msg == WM_WINDOWPOSCHANGING) { WINDOWPOS winPos = new WINDOWPOS(); winPos = (WINDOWPOS)Marshal.PtrToStructure(m.LParam, typeo...

Is it really a big improvement for a webpage to minimize HTML, PHP or CSS files or it doesn't make any big difference?

I saw this HTML minifier in Ajaxian and it made me wonder if its really a big improvement for webpage to minimize HTML, PHP or CSS files or it doesn't make any big difference? (assuming that they are 100 lines long in average) ...

Minimizing MySQL output with Compress() and by concatening results?

Hi all. It is crucial that I transfer the least amount of data possible between server and client. Therefore I thought of using the mysql Compress() function. To get the max compression I also want to concatenate all my results in one large string (or several of max length allowed by MySql), to allow for similar results to be compressed,...

Minimise a window in WPF?

How do you minimise a window programmatically when using windows wpf? I can seem to find a .resize attribute? ...

Change workarea size of Linux desktop

I'm trying to write a taskbar/panel for Linux (like fbpanel or pypanel) using GTK# and am a little hung up. I've created a Gtk.Window to act as the panel and positioned/resized it appropriately. I've also set its WindowTypeHint to Dock so that it remains on top of other windows. So far it 'looks' like a panel. However, if the panel i...

How to minimize one application using c# or python?

How can I minimize Microsoft Speech Recognition: using C# or python? ...

Combine and minimize css with title and rel attributes

I have been reading about css and js compression and minimizing. In particular that post http://stackoverflow.com/questions/890561/concatenate-minify-js-on-the-fly-or-at-build-time-asp-net-mvc Im developing a MVC ASP.NET application and using Combres for minimizing and compress files. I'm not too happy and now i'm evaluating MVCScriptMan...

Disabling Minimize & Maximize On WinForm?

Hello SO and happy Friday, 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 form instead of closing it. How can this be done? ...

How to automatically update or compress a CSS, JS and HTML file every time I save its "source file" in Vim?

I wanted to minimize or compress CSS, Javascript and maybe Html files like Google does. Because, I used Google's Page-Speed and it recommended me to compress files. It provides me the compressed versions but I would like to do this automatically.I don't want to deal with 2 files every time I want to edit something. So basically, I want t...

Qt hide minimize, maximize and close buttons

Do you know how to hide minimize, maximize and close buttons of title bar in Qt. i did it before in some other project but i could not find it now. could u help me? especially i need to hide it on QMainWindow ...

How to get program's position on the taskbar?

Because I disabled the default windows style in my application, I don't have the default(Vista/7) minimize effect when the application is minimized/restored. I made up that effect, but I don't know program's position on the taskbar, and therefore the window fades in the bottom center. How do I get my application's position on the taskba...

What is the best way to reactivate an app running in the tray?

I have a delphi app that runs minimized to a tray icon. When the tray icon is double clicked the app opens a non-modal user interface form. I have added logic to the app to detect whether it is already running. If it isn't running, it starts up and miminizes itself to the tray. If it is already running, I want it to pass control to...

Delphi - Minimize & Restore frees up memory ?

Hello All, I have been a dabbling into delphi off and on for years and I have always wondered why does minimizing and restoring an application cause it to use less memory ? As an example I am using delphi 7 and I create a new project with nothing on it but the blank form all projects start out with and then I press F9 to run the applic...

C# close to tray (like msn messenger)

Hi guys, I have a c# .net app. So I created a notifyIcon that sits in the tray. What I want to do is when the user hits the "x" button on the form, I want it to close to the tray. They should only be able to exit program by using the context menu in the tray icon. So what I did was, on the form close event, I check whether the form is ...

Forms are minimized on FormShow: random behaviour in Delphi application. Any idea?

I am experiencing an hard-to-track problem: when showing new forms (I create and show them at runtime) sometimes the form is minimized. I don't understand why, I say this problem in xp, Vista and 7. I tried to create samples to isolate the problem but on the samples I cannot reproduce it (=the forms always show not minimized). What ha...

change minimize effect in C#

I'm trying to change the default windows minimize effect with a C# winforms app. I have no idea where to start. Maybe I should set some kind of hook or something? I just need to know, when a window likes to be minimized, the minimizing itself is no problem. Anyone having any ideas?? ...

How to strip down a jquery to fit your needs?

Hello, I have this script running, and I'm wondering if I need all of http://code.jquery.com/jquery-latest.min.js It's 70 kb, and I would love to be able to strip it down. $('a.inframe').click(function() { var e=$(this); if (!e.data('state')) { //if state is undefined e.data('state','open'); //set the state to 'open' // E...