About TCalendar
Re: About TCalendar
I see, it works only on Vista and later, are you trying with win 7? see requirement section on https://docs.microsoft.com/en-us/window ... erecttomin. It is a shame,
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: About TCalendar
Antonino,
We have modified methods New() and Initiate() using this code:
many thanks
We have modified methods New() and Initiate() using this code:
Code: Select all
aRect = MonthCal_GetMinReqRect( ::hWnd )
SetWindowPos( ::hWnd, 0, ::nLeft, ::nTop, ;
Max( ::nWidth, aRect[ 4 ] ) - ( ::nLeft * 2 ), ;
aRect[ 3 ], nOr( SWP_NOZORDER, SWP_NOMOVE ) )