Re: user32/tests: Test edit control to WM_GETTEXT processing after WM_DESTROY

2009-11-15 Thread Ilya Shpigor
Please don't commit this test. Instead use or comment next try:

user32: Destroy EDITSTATE structure in the WM_NCDESTROY message processing

-- 
Best regards,
Ilya Shpigor.




Re: user32/tests: Test edit control to WM_GETTEXT processing after WM_DESTROY

2009-11-13 Thread Nikolay Sivov
On 11/13/09, Ilya Shpigor  wrote:
> Hi,
>
> There is a problem to get edit control text after It has processed
> WM_DESTROY
> message. Perhaps, problem with EDITSTATE structure what contain this text.
> WM_DESTROY cause destroying this structure.

This is currently a place where control releases its data, and that's
fine in that sense.

>
> Is it possible to solve this problem properly without hacks?
>

Yes, if destruction itself is made on WM_NCDESTROY for example, or
even DestroyWindow knows Edit class and handles its specific data
releasing internally.

> --
> Best regards,
> Ilya Shpigor.
>