Click here to Skip to main content
15,886,362 members
Articles / Desktop Programming / MFC

ControlObjectList

Rate me:
Please Sign up or sign in to vote.
3.00/5 (6 votes)
16 Aug 2002CPOL 62.6K   2.1K   25  
Add/Remove/Scroll/Sort Object List (CButton, CStatic, etc..)
// Icon Manager.h : main header file for the ICON MANAGER application
//

#if !defined(AFX_ICONMANAGER_H__CF880823_303B_447F_804F_8F228300BDBB__INCLUDED_)
#define AFX_ICONMANAGER_H__CF880823_303B_447F_804F_8F228300BDBB__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#ifndef __AFXWIN_H__
	#error include 'stdafx.h' before including this file for PCH
#endif

#include "resource.h"		// main symbols


#define MAX_ICON_WIDTH	72               // Max width
#define MIN_ICON_WIDTH	8                // Min width
#define MAX_ICON_HEIGHT	MAX_ICON_WIDTH   // Max height
#define MIN_ICON_HEIGHT	MIN_ICON_WIDTH   // Min height

#define DEFAULT_ICON_WIDTH  32 
#define DEFAULT_ICON_HEIGHT DEFAULT_ICON_WIDTH

#define DEFAULT_ICON_COLOR 32


/////////////////////////////////////////////////////////////////////////////
// CIconManagerApp:
// See Icon Manager.cpp for the implementation of this class
//

class CIconManagerApp : public CWinApp
{
public:
	CIconManagerApp();

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CIconManagerApp)
	public:
	virtual BOOL InitInstance();
	//}}AFX_VIRTUAL

// Implementation

	//{{AFX_MSG(CIconManagerApp)
		// NOTE - the ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};


/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_ICONMANAGER_H__CF880823_303B_447F_804F_8F228300BDBB__INCLUDED_)

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)


Written By
CEO
Canada Canada

Comments and Discussions