原創(chuàng)|產(chǎn)品更新|編輯:我只采一朵|2014-04-18 09:33:08.000|閱讀 1149 次
概述:BCGControlBar Professional日歷控件包含應(yīng)用程序所需的各種日程和調(diào)度工具。
# 界面/圖表報(bào)表/文檔/IDE等千款熱門(mén)軟控件火熱銷(xiāo)售中 >>
相關(guān)鏈接:
下面跟大家簡(jiǎn)單介紹一下這個(gè)Calendar控件的基本功能:

示例代碼:
// Create planner control:
m_wndCalendar.Create (WS_CHILD | WS_VISIBLE, rectCalendar, this, IDC_CALENDAR);
// Create a new appointment: today, 9:30AM ? 10:30AM, name ?Meeting?:
COleDateTime now = COleDateTime::GetCurrentTime ();
CBCGPAppointment* pApp = new CBCGPAppointment (
COleDateTime (now.GetYear (), now.GetMonth (), now.GetDay (), 9, 30, 0),
COleDateTime (now.GetYear (), now.GetMonth (), now.GetDay (), 10, 30, 0),
_T("Meeting"));
// Add this appointment to planner:
m_wndCalendar.AddAppointment (pApp);
附BCGControlBar Professional下載地址
本站文章除注明轉(zhuǎn)載外,均為本站原創(chuàng)或翻譯。歡迎任何形式的轉(zhuǎn)載,但請(qǐng)務(wù)必注明出處、不得修改原文相關(guān)鏈接,如果存在內(nèi)容上的異議請(qǐng)郵件反饋至chenjj@fc6vip.cn
文章轉(zhuǎn)載自:慧都控件