Click here to Skip to main content
Click here to Skip to main content
Articles » Languages » C# » PInvoke » Downloads
 
Add your own
alternative version

Window Tray Minimizer

, 26 Oct 2007 CPOL
An article showing how to minimize any Window to the system tray
article_demo.zip
Demo
About.dll
Tray minimizer.exe
article_src.zip
Tray minimizer
Tray minimizer
About.dll
exeicon.ico
icon.ico
Properties
Settings.settings
Thumbs.db
using System;
using System.Collections.Generic;
using System.Text;

namespace Tray_minimizer
{
    class window
    {
        public IntPtr handle;
        public string title;
        public bool isminimzed;
        public bool ismaximized;

        public window()
        {
            handle = IntPtr.Zero;
            title = "";
            isminimzed = false;
            ismaximized = false;
        }

        public window(IntPtr handle, string title, bool isminimized, bool ismaximized)
        {
            this.handle = handle;
            this.title = title;
            this.isminimzed = isminimized;
            this.ismaximized = ismaximized;
        }
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Giorgi Dalakishvili
Software Developer
Georgia Georgia
No Biography provided
Follow on   Google+

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.141216.1 | Last Updated 26 Oct 2007
Article Copyright 2007 by Giorgi Dalakishvili
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid