i still have problems
Code:
// SortClass.h: interface for the CSortClass class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_SORTCLASS_H__C4FFD42B_9BC4_4084_AA1C_DAA42CDCC697__INCLUDED_)
#define AFX_SORTCLASS_H__C4FFD42B_9BC4_4084_AA1C_DAA42CDCC697__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CSortClass
{
public:
enum EDataType {dtNULL, dtINT, dtSTRING, dtDATETIME, dtDEC};
CSortClass(CListCtrl * _pWnd, const int _iCol);
virtual ~CSortClass();
void Sort(bool bAsc, EDataType _dtype);
protected:
CListCtrl * pWnd;
EDataType m_arrColType[200];
static int CALLBACK Compare(LPARAM lParam1, LPARAM lParam2, LPARAM
lParamSort);
struct CSortItem
{
CSortItem(const DWORD _dw, const CString &_txt);
DWORD dw;
CString txt;
};
};
#endif // !defined(AFX_SORTCLASS_H__C4FFD42B_9BC4_4084_AA1C_DAA42CDCC697__INCLUDED_)
yes over here u see that i inserted it there
and included it in my derived CListCtrl class named (pg_control_report)
Code:
// pg_control_report.cpp : implementation file
//
#include "stdafx.h"
#include "AClient.h"
#include "pg_control_report.h"
#include "InPlaceEdit.h"
#include "SortClass.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
but still get the same problem :cry:
something i missed?
please assist