Click here to Skip to main content
15,885,365 members
Articles / Programming Languages / C++

Useful Managers

Rate me:
Please Sign up or sign in to vote.
5.00/5 (1 vote)
11 Aug 2001 80.4K   1.2K   16  
An add-in for Devstudio that provides tag indexing and search, window, bookmarks, session and other managers
#if !defined(AFX_SORTMGR_H__C1AC212C_8ABF_11D1_B145_000000000000__INCLUDED_)
#define AFX_SORTMGR_H__C1AC212C_8ABF_11D1_B145_000000000000__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SortMgr.h : header file
// COPYRIGHT (C) 1999-2000 by Mike Melnikov zmike@andnow.ru
//

//#include <afxext.h>

#include "MListCtrl.h"
#include "DlgMgr.h"


/////////////////////////////////////////////////////////////////////////////
// CSortMgr dialog
class CSortMgr : public CDlgMgr
{
// Construction
public:
	CSortMgr();

// Dialog Data
	//{{AFX_DATA(CSortMgr)
	CMListCtrl m_ctrl;
	//}}AFX_DATA

  virtual BOOL OnInitDialog();
	afx_msg void OnRefresh();

protected:
  virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  virtual void OnSelectAll();

  virtual void OnInit() = 0;
	virtual void FillList() = 0;
	virtual void onDestroy() {}

  void Update();
  void OnDestroy();
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_TreeMgr_H__C1AC212C_8ABF_11D1_B145_000000000000__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 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
Web Developer
Russian Federation Russian Federation
Mike has been programming in C/C++ for 11 years and Visual C++/MFC for 4 years. His background includes pure and applied mathematics, engineering and physics, and he is currently based in Moscow, Russia.

Comments and Discussions