Question : How to start week on Monday using Lebans MonthCalendar?

I'm using Lebans MonthCalendar (http://www.lebans.com/monthcalendar.htm) which by default has weeks starting on Sunday. Is there a way to make them start on Monday, so the week is Monday to Sunday instead of Sunday to Saturday?

Answer : How to start week on Monday using Lebans MonthCalendar?

@GRayL

It's not an ActiveX control, so it avoids all the OCX/DLL hell associated with ActiveX controls.  So no, it doesn't have a properties sheet.

@mvasilevsky

Insert this line near the end of the Sub CreateDTPControl, just before the call to ReDraw:

Call apiSendMessage(m_hWndDTP, MCM_SETFIRSTDAYOFWEEK, ByVal 0&, ByVal 0&)

The last argument indicated the day of the week: 0=Monday, 1=Tuesday, etc

--
Graham

Random Solutions  
 
programming4us programming4us