// SortListCtrl.cpp : implementation file // #include "stdafx.h" #include "p4win.h" #include "SortListCtrl.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CSortListCtrl CSortListCtrl::CSortListCtrl() { } CSortListCtrl::~CSortListCtrl() { } BEGIN_MESSAGE_MAP(CSortListCtrl, CListCtrl) //{{AFX_MSG_MAP(CSortListCtrl) // NOTE - the ClassWizard will add and remove mapping macros here. //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // CSortListCtrl message handlers void CSortListCtrl::PreSubclassWindow() { CListCtrl::PreSubclassWindow(); // Add initialization code m_headerctrl.SubclassWindow( ::GetDlgItem(m_hWnd,0) ); }