How to get started with MFC Calendar? |
Post Reply |
Author | |
EricFowler
Groupie Joined: 01 December 2009 Status: Offline Points: 14 |
Post Options
Thanks(0)
Posted: 01 December 2009 at 4:10pm |
I have the demo version and have an MFC project with a dialog. I want to slap a calendar control into that dialog. I found the Codejock menu item under tools but no control palette entries, etc.
Where do I find that control? How do I get one into my project?
Thanks
Eric
|
|
mdoubson
Senior Member Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
|
BOOL CCalendarOnDialogDlg::OnInitDialog() ...... m_ctrlCalendar.Create(WS_CHILD | WS_TABSTOP | WS_VISIBLE, rcCalendar, this, IDC_CALENDAR_CTRL_ID);
m_wndCalendarCaptionBar.Create(WS_CHILD | WS_TABSTOP | WS_VISIBLE, CRect(0, 0, 0, 0), this, ID_CALENDARCAPTIONBAR_CONTROL); where you dialog class has:CXTPCalendarControl m_ctrlCalendar; CXTPCalendarCaptionBarControl m_wndCalendarCaptionBar; |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |