Re: Datetime picker updown support

2005-04-14 Thread Duane Clark
Robert Shearman wrote: I have tested using ControlSpy & Spy++ and indeed it isn't destroyed after each resize. Using SetWindowPos works for me. Can you make sure the app still works with the attached patch? Yep, that works fine.

Re: Datetime picker updown support

2005-04-14 Thread Robert Shearman
Duane Clark wrote: Rob Shearman wrote: This seems really wrong. You are destroying and creating the updown control on every size event?!?! That's really going to slow resizes down. Is there any evidence that the native version does it like this? No, I don't have evidence of that. On the other ha

Re: Datetime picker updown support

2005-04-14 Thread Duane Clark
Rob Shearman wrote: This seems really wrong. You are destroying and creating the updown control on every size event?!?! That's really going to slow resizes down. Is there any evidence that the native version does it like this? No, I don't have evidence of that. On the other hand, it is unlikely

Re: Datetime picker updown support

2005-04-14 Thread Rob Shearman
Duane Clark wrote: This adds support for the updown control in the datetime picker (previously it existed but did nothing). ... @@ -874,13 +1008,23 @@ DATETIME_Size (DATETIME_INFO *infoPtr, W TRACE("Height=%ld, Width=%ld\n", infoPtr->rcClient.bottom, infoPtr->rcClient.right); infoPtr->rcD