16,466
社区成员
发帖
与我相关
我的任务
分享
m_attencetable.DeleteAllItems();//m_attencetable是CLISTCTRL
int nColumnCount = m_attencetable.GetHeaderCtrl()->GetItemCount();
for (int i=0;i < nColumnCount;i++)
{
m_attencetable.DeleteColumn(0);
}
m_attencetable.InsertColumn(0,L"考勤日期",LVCFMT_LEFT,120);
m_attencetable.InsertColumn(1,L"首次刷卡",LVCFMT_LEFT,120);
m_attencetable.InsertColumn(2,L"末次刷卡",LVCFMT_LEFT,120);
m_attencetable.InsertColumn(3,L"工作时长",LVCFMT_LEFT,100);
#ifdef _UNICODE
#if defined _M_IX86
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"")
#elif defined _M_IA64
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"")
#elif defined _M_X64
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"")
#else
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
#endif