Click here to Skip to main content
15,881,709 members
Articles / Programming Languages / C++

Iconizer

Rate me:
Please Sign up or sign in to vote.
4.95/5 (10 votes)
2 May 2001 147.6K   3.3K   62  
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.
//===========================================================================
//
//	HomeWork from Belgium			Not licensed software  
//	1999 - 2000						No rights reserved
//
//===========================================================================
//
//	Project/Product :	Iconizer APP
//  FileName		:	IconizerDoc.cpp
//	Author(s)		:	Bart Gysens
//
//	Description		:	Implementation of the Iconizer document class
//
//	Classes			:	CIconizerDoc
//
//	Information		:
//	  Compiler(s)	:	Visual C++ 6.0
//	  Target(s)		:	Windows 95/98 and Windows NT (x86)
//	  Editor		:	Visual C++ 6.0 internal editor
//
//	History
//	Vers.  Date      Aut.  Type     Description
//  -----  --------  ----  -------  -----------------------------------------
//	1.00   07 12 99  BG    Create   Original
//
//===========================================================================

#include "stdafx.h"
#include "Iconizer.h"
#include "IconizerDoc.h"

//===========================================================================
//	Macros and typedefs
//===========================================================================

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif // _DEBUG


//===========================================================================
// 
//	Class			:	CIconizerDoc
//	Author(s)		:	Bart Gysens
//
//	Description		:	Implementation of the CIconizerDoc class
//
//	Comments		:	None
//
//	History			:	1.00  : Create
//
//===========================================================================

IMPLEMENT_DYNCREATE(CIconizerDoc, CDocument)

BEGIN_MESSAGE_MAP(CIconizerDoc, CDocument)
	//{{AFX_MSG_MAP(CIconizerDoc)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

CIconizerDoc::CIconizerDoc()
{
}

CIconizerDoc::~CIconizerDoc()
{
}

BOOL CIconizerDoc::OnNewDocument()
{
	if (!CDocument::OnNewDocument())
		return FALSE;

	return TRUE;
}

void CIconizerDoc::Serialize(CArchive& ar)
{
	if (ar.IsStoring())
	{
	}
	else
	{
	}
}

#ifdef _DEBUG
void CIconizerDoc::AssertValid() const
{
	CDocument::AssertValid();
}

void CIconizerDoc::Dump(CDumpContext& dc) const
{
	CDocument::Dump(dc);
}
#endif //_DEBUG

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


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions