Click here to Skip to main content
14,927,870 members
Articles / Programming Languages / C++
Posted 22 Mar 2001


62 bookmarked


Rate me:
Please Sign up or sign in to vote.
4.94/5 (10 votes)
2 May 2001
This handy utility adds an extra button near the minimize/maximize/close buttons of existing windows that allows you to minimise your applications to the system tray.

Sample Image - iconizer.gif


Iconizer is a small utility that installs a system-wide hook to provide an extra caption button next to the minimize/maximize/close buttons on exsiting applications.

This button minimizes an application, removes the icon window out of the taskbar and puts an icon in the systemtray, freeing up more space on the taskbar this way.

A left mouse click on the icon will restore the window, while a right mouse click will popup the system menu of the corresponding window.

The project includes full working binaries that can be used as-is. All source code is included which can be useful as example or reference on how to implement a system wide hook in general.

File List

Files you need

All files you need are contained in

You will need following files to run Iconizer:

iconizer.exe system wide hook loader
iconizer.dll system wide hook provider
iconizer.ini list of applications to exclude from hook, this file must reside in the Windows directory

Following files manipulate the registry to start/stop the automatic loading of Iconizer after login:

Remark: The default path in the .reg files is c:\utils\iconizer. Change this path if iconizer.exe is located somewhere else.

Other files:

install_nt4.reg NT4 install file to start Iconizer at startup
install_w2k.reg Win2000 install file to start Iconizer at startup
uninstall_nt4.reg NT4 unistall file to stop loading Iconizer at startup
uninstall_w2k.reg Win2000 uninstall file to stop loading Iconizer at startup
readme.txtshort introduction

Source code

System wide hook loader

  • All source code is zipped into in the IconizerApp folder.
  • This application is actually a tiny MFC application that  runs in stealth mode and loads the system wide hook.

System wide hook provider

  • All source code is zipped into in the IconizerDll folder.
  • This application is actually a Windows Win32 DLL that implements the system wide hook.


Iconizer requires Windows NT SP3 (or higher) or Windows 2000. Iconizer is not fully tested on Windows 95/98/Me, but will probably run on these platforms.


  1. The author is not, and will not be, responsible for any damage caused by using iconizer.
  2. Bugs and comments can be reported at


Many thanks to the people who helped in the realisation of Iconizer, in special to Henk De Vos (, and colleagues at ERG Transit Systems for beta testing and feedback.


3 May 2001 - Fixed install problems with Windows 2000.


This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


About the Author

Bart Gysens
United States United States
No Biography provided

Comments and Discussions

QuestionI have a question... Pin
mesiasrojo11-Aug-11 0:28
Membermesiasrojo11-Aug-11 0:28 
GeneralReally Nice.. Pin
MemberLKSJDFLKJSDFLKJSD31-Jul-09 0:22 
GeneralRe: Really Nice.. Pin
Steve_8-Nov-09 9:12
MemberSteve_8-Nov-09 9:12 
GeneralReally great Pin
Hemant kulkarni26-Jul-06 18:17
MemberHemant kulkarni26-Jul-06 18:17 
GeneralNice job but you should learn STL ! Pin
ivan françois14-Mar-06 13:48
Memberivan françois14-Mar-06 13:48 
GeneralWindows XP Pin
Steve Thresher11-Feb-02 2:10
MemberSteve Thresher11-Feb-02 2:10 
GeneralRe: Windows XP Pin
M.Khadem13-Nov-03 18:36
MemberM.Khadem13-Nov-03 18:36 
GeneralRe: Windows XP Pin
cf_gth8-Mar-05 10:56
Membercf_gth8-Mar-05 10:56 
GeneralBUG Pin
29-Mar-01 22:56
suss29-Mar-01 22:56 
GeneralRe: BUG Pin
30-Mar-01 8:07
suss30-Mar-01 8:07 
GeneralRe: BUG Pin
Wolfgang Kleinschmit4-Mar-04 22:06
MemberWolfgang Kleinschmit4-Mar-04 22:06 
QuestionRedraw required at app startup? Pin
Mark Findlay28-Mar-01 12:35
MemberMark Findlay28-Mar-01 12:35 
AnswerRe: Redraw required at app startup? Pin
29-Mar-01 2:51
suss29-Mar-01 2:51 
GeneralRe: Risky... Pin
Mark Findlay28-Mar-01 19:10
MemberMark Findlay28-Mar-01 19:10 
GeneralRe: Risky... Pin
29-Mar-01 2:46
suss29-Mar-01 2:46 
GeneralRe: solution Pin
10-Aug-01 7:05
suss10-Aug-01 7:05 
GeneralRe: solution - It can be done! Pin
Bibgo2125-Nov-02 19:28
MemberBibgo2125-Nov-02 19:28 
GeneralRe: solution - It can be done! Pin
WREY13-Jun-04 3:22
MemberWREY13-Jun-04 3:22 
GeneralRe: Risky... Pin
Mark Findlay29-Mar-01 13:17
MemberMark Findlay29-Mar-01 13:17 
GeneralRe: Risky... Pin
28-Oct-01 14:26
suss28-Oct-01 14:26 
GeneralGood Job Pin
Paul Barrass24-Mar-01 7:45
MemberPaul Barrass24-Mar-01 7:45 
GeneralWell Done, Pin
Colin J Davies23-Mar-01 12:39
MemberColin J Davies23-Mar-01 12:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.