I see that that works in MiniGui, but I could not get it to work in HMG. No matter what font name and size I gave when I created the control, MonthCal_GetMinReqRect always returned the width and height as if I had used the default font. So in the HMG MonthCalendar extension that I recently developed, you must set the width and height yourself if you set the font. See http://hmgforum.com/viewtopic.php?f=5&t=6607&p=63662.
DatePicker Color & (big) Font
Moderator: Rathinagiri
Re: DatePicker Color & (big) Font
Re: DatePicker Color & (big) Font
It sounds like you have a good idea of how to modify HMG. Have you tried actually doing this?
I've recently extended the MonthCalendar control to allow bold days, font changing, resizing, etc. You could use this code to modify the DatePicker calendar also. See http://hmgforum.com/viewtopic.php?f=5&t=6607&p=63662.
Another approach is to use a pseudo calendar datepicker. This uses three controls to simulate a calendar datepicker:
- an up-down DatePicker
- a button that makes the calendar appear and disappear
- a MonthCalendar control that is initially invisible