minimize

Is there a javascript/css compressor plugin for visual studio?

Hi guys, I'm looking for a visual studio plugin with the following functionality: On building the project or executing the tool, the plugin looks for all *.js and *.css files in your project and compresses/minimizes them into *.min.js and *.min.css files. Executing the tool on project build would enable you to keep the references to ...

Using wndproc in C# to minimize form on leftclick of taskbar.

I have a C# application that is using wndproc to get a message for a right click to the taskbar, but I also need to use a left click to the taskbar so that I can minimize my form. The message value for right click on taskbar icon is WMTaskbarRClick = 0x0313. Does anyone know what the message value is for left click on taskbar icon? ...

(C#) How to detect when a windows form is being minimized

How to? I know that I can get the current state by WindowState, but I want to know if there's any event that will fire up when the user tries to minimize the form. ...

Best Way to 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, and if so what is the recommended approach, for compressing and minimizing such references into a single .js file where poss...

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. ...

Having the application minimize to the system tray when button is clicked?

How can I have my application minimize itself to the system tray in WindowsXP/Vista? I'm also looking for a way to have a message display itself when the mouse is hovered on the icon. Is it possible to have two lines in the pop up balloon? ...

Packing and minimizing HTML and CSS

What're the best practices for CSS/HTML minimizing? I'm looking for server side tools to fasten the interaction with the browser. ...

.NET (C#) Window Minimize Event

Hey, I'm really stuck with my project here... I need to know when any open window has been minimized / restored and Handle the event in my own App. Any ideas? Edit: Musigenesis is right, i do want to know when OTHER applications are minimized/restored ...

Prevent WPF Window From Minimizing (Winkey + D, mostly)

Hi I have a window which is supposed to act like a Windows Vista(+) gadget; its supposed to stay on the desktop, not to appear on taskbar and the alt+tab menu, but most importantly, not to get minimized. Here is its header: As its style is set to None, it has no control buttons (minimize, close, etc...) but it still can be minimized...

How to Minimize Child Dialog to task bar.

MFC Dialog Application: From Parent Dialog, launched the Child Dialog. In the child dialog property "Minimize" button is checked. If click the "Minimize" button the child dialog minimize to the left corner of the screen instead of "Task Bar" how to solve this??? ...

Python HTML Minimizer

I have a cherrypy web server that uses larges amounts of HTML data. Is there anyway in Python to minimize the HTML so that all comments, spaces, ext, are removed? ...

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."; ...

After minimizing app, on restore, windows pursues mouse pointer

Hi! I have an application in WPF C# where other than the purpose of what it's done, I customized the close and minimize buttons. The problem is that when I minimize, all is good, I cycle around all other apps, but, when I want to go back to the application, I click in the window in the taskbar, and the window pops up... But when it pops...

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 minimized when started up at the same time as Windows? The only way I could think of, is ...

HTML online minimizer/compressor?

Does anyone know of a good online generator to take the source code of an HTML page and compress/minimize the entire page. Meaning, compress/minimize all embedded CSS, JavScript and obviously the HTML of that web page while also removing unneeded HTML/CSS/JavaScript comments, spaces, tabs, etc? ...

Serve a minimise prototype.js file with Google AJAX Libraries API?

Is Google AJAX Libraries API offering a way to serve framework file in minimize way? ...

What jQuery plugin will do this Wordpress-like effect?

I'm wondering if anyone knows what jQuery plugin can do the effects WordPress has for its heading boxes. That is, when you first login you have boxes like "Right Now", "Quick Press", etc. When you hover over the heading, an arrow appears and you can minimize this. I don't know if they do this with jQuery, but if so: what plugin do they u...

Minimize Delphi Application with Live Popup Menu

I'm attempting to run this in a timer: Application.Minimize; ShowWindow( Application.handle, SW_HIDE ); It's been in the code forever and we just discovered that it doesn't work when you have a popupmenu active, it doesn't minimize the MDI parent window. I figure if I can close the popup menu before running this code, then I'll be ok...

detect all windows minimized from c# application

how to detect all windows(of other applications) minimized from c# application ...

Using C# FormWindowState to restore up?

Hello, I'd like to detect if my application is minimized under certain situations, and if it is, the window needs to be restored. I can do that easily as follows: if(this.WindowState == FormWindowState.Minimized) { this.WindowState = FormWindowState.Normal; } However, what happens if the user first maximizes the form, then minim...