Hi All,
I've never used an Active X control before. I'm working on a simple dialog based application with a Calendar Control. I declared a member variable, m_Calendar, for the control as type: CMonthCalCtrl. I assume the next step is to use the methods in the CMonthCalCtrl to respond to the four messages: MCN: GETDAYSTATE,SELECT & SELCHANGE.
If I click on a date a MCN_SELECT message should be generated. Within this message handler I assume I should call: CMonthCalCtrl::GetCurSel(). Am I correct? Does anyone know of a tutorial that can walk me through on to proceed. I've been using Google for searches but have not come up with anything helpful
MPSoutine
I've never used an Active X control before. I'm working on a simple dialog based application with a Calendar Control. I declared a member variable, m_Calendar, for the control as type: CMonthCalCtrl. I assume the next step is to use the methods in the CMonthCalCtrl to respond to the four messages: MCN: GETDAYSTATE,SELECT & SELCHANGE.
If I click on a date a MCN_SELECT message should be generated. Within this message handler I assume I should call: CMonthCalCtrl::GetCurSel(). Am I correct? Does anyone know of a tutorial that can walk me through on to proceed. I've been using Google for searches but have not come up with anything helpful
MPSoutine