Vijay Kiran Kamuju : comctl32: MonthCalendar - Fix highlighting of current date.
Module: wine Branch: master Commit: c5b8df481f2bb0362b57188a8c7df423030ba8b0 URL: http://source.winehq.org/git/wine.git/?a=commit;h=c5b8df481f2bb0362b57188a8c... Author: Vijay Kiran Kamuju <infyquest(a)gmail.com> Date: Sun Dec 24 13:31:56 2006 +0530 comctl32: MonthCalendar - Fix highlighting of current date. --- dlls/comctl32/monthcal.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/dlls/comctl32/monthcal.c b/dlls/comctl32/monthcal.c index 71e0777..5baf788 100644 --- a/dlls/comctl32/monthcal.c +++ b/dlls/comctl32/monthcal.c @@ -1891,6 +1891,10 @@ MONTHCAL_Create(HWND hwnd, WPARAM wParam infoPtr->bk = GetSysColor(COLOR_WINDOW); infoPtr->txt = GetSysColor(COLOR_WINDOWTEXT); + /* set the current day for highlighing */ + infoPtr->minSel.wDay = infoPtr->todaysDate.wDay; + infoPtr->maxSel.wDay = infoPtr->todaysDate.wDay; + /* call MONTHCAL_UpdateSize to set all of the dimensions */ /* of the control */ MONTHCAL_UpdateSize(infoPtr);
participants (1)
-
Alexandre Julliard