Datetime picker updown support
Robert Shearman
rob at codeweavers.com
Thu Apr 14 13:07:53 CDT 2005
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 hand, it is unlikely
> the control will ever be resized, except once after creation. Looking
> through the messages that the updown control responds to, there are
> none that allow resizing that I can see. And while I have not verified
> this with Microsoft docs, it supposedly implements all documented
> functions (according to the header).
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?
Rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: datetime.diff
Type: text/x-patch
Size: 1398 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20050414/aec80121/datetime.bin
More information about the wine-devel
mailing list