Subclass per month Cal control in Win32

Purpose: Use the standard Win32 MonthCal control and draw days such as holidays in RED.

It seems that Win32's native approach will use the MCN_GETDAYSTATE notification , which, apparently, only allows highlighting individual bold days in bold.

A possible (but rejected) solution would be to write my own monthly calendar month, bringing me directly from topic support - this means that my control will not be consistent with the user interface when new topics appear.

If anyone ran into this problem, it would be very helpful to get a solution.

+3
source share
2

, MFC, win32, MFC-, , , . , MFC win32 - , MFC- win32 , 15- Windows , - " win32", , win32, "MFC control" - " , CWnd MFC".

, http://www.bcgsoft.com/samples/calendar.htm. , MonthCal, .. .

+1

. .

( WM?) , win32 MFC?

0

Source: https://habr.com/ru/post/1697198/


All Articles