About TCalendar

AntoninoP
Posts: 347
Joined: Tue Feb 10, 2015 9:48 am
Location: Albenga, Italy
Contact:

Re: About TCalendar

Post by AntoninoP »

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,
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: About TCalendar

Post by Antonio Linares »

Antonino,

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 ) )
many thanks
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply