Login  Register

Re: DatePresenter

Posted by Andy Bower-3 on Nov 28, 2005; 4:13pm
URL: https://forum.world.st/DatePresenter-tp3376496p3376555.html

Folks,

I'm somewhat confused by this.

As it turns out, my original patch:

> !CommCtrlLibrary class methodsFor!
>
> defaultInitFlags
> ^ICC_WIN95_CLASSES | ICC_DATE_CLASSES! !
> !CommCtrlLibrary class categoriesFor:
> #defaultInitFlags!accessing!private! !
>
> CommCtrlLibrary
> initFlags: CommCtrlLibrary
> defaultInitFlags; closeDefault.!

shouldn't be necessary because the class initialization code in
DateTimeCommonControl should take care of setting the appropriate
flags. However, I don't see the problem under XP for either the Picker
view or the Month view. I do have Visual Studio 2003 installed on this
machine so this may be having an effect.

I originally tried the patch on Windows 2000 where I couldn't open
these two controls originally. After applying the patch I seemed to be
able to open the controls okay. However, having tried applying the
patch again in a fresh image, this time it doesn't work.

Obviously, some further experimentation is necessary.

Best regards,

--
Andy Bower
Dolphin Support
www.object-arts.com