On 11/13/09, Ilya Shpigor shpigor@etersoft.ru 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.