Click here to Skip to main content
12,452,344 members (54,762 online)
Click here to Skip to main content

Stats

106.1K views
5.6K downloads
40 bookmarked
Posted

CGridCtrl 1.5

, 17 Jun 2004
This article presents a tiny grid control derived from the standard list control
// BgListViewDlg.h : header file
//

#pragma once
#include "Resource.h"
#include "BgListView.h"

//
//	class BgListViewDlg
//
class BgListViewDlg: public CDialog
{
public:
	BgListViewDlg(CWnd* pParent = NULL);

	enum { IDD = IDD_BGLISTVIEW_DIALOG };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);

protected:
	virtual BOOL OnInitDialog();

	DECLARE_MESSAGE_MAP()
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnPalleteChange();

private:
	BgListView mList;
	CImageList mImageList;
	CComboBox  mPalleteCombo;
};

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

Share

About the Author

Marius Negrutiu
Web Developer
Romania Romania
- C/C++ Programming
- Windows Device Driver programming (DDK)
- Low-level networking programmer (firewalls, routers, sniffers...)
- AutoCAD ObjectARX/DBX programming
- ADT Object Modeling Framework (OMF) programmer

You may also be interested in...

Pro
Pro
| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.160826.1 | Last Updated 18 Jun 2004
Article Copyright 2004 by Marius Negrutiu
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid