In the YACC Calendar class, there is a method that is called at the end of the Init() event. SetupDisplay is called and at the end of this method there is a SetFocus() on the current day.
The problem is that SetFocus() will force the form to be displayed. At this time, I don't want to form to be displayed because I need to run my form Init() first. So, because the form Init() is run after, the form is already shown on the screen and this is not what I want.
So, what I've done right now is to put the SetFocus() in comment but this results in showing the focus on day 1st even if the current day is shown in red.
I tried to modify thing in this method to avoid this but I was unable to find a workaround.
If someone is using this class and know how to do it, it will greatly be appreciated.