further,
the following edit control debugmsg from my simple app has two lines, probably worth of discussion - the last two in the following log extract :
---snip---
trace:edit:EDIT_WM_SetText L"more text by Doug" trace:edit:EDIT_EM_ReplaceSel L"more text by Doug", can_undo 0, send_update 0 trace:edit:EDIT_MakeFit trying to ReAlloc to 17+1 characters trace:edit:EDIT_MakeFit Old 32 bit handle 0x404ad022, new handle 0x404ad022 trace:edit:EDIT_MakeFit We now have 31+1 trace:edit:EDIT_EM_ReplaceSel inserting stuff (tl 0, strl 17, selstart 0 ('L""'), text 'L""') trace:edit:EDIT_WM_SetText notification EN_CHANGE sent to hwnd=0x10023 trace:edit:EDIT_WM_SetText notification EN_UPDATE sent to hwnd=0x10023
---snip ---
I do not see these SetText notifications in the problem app. How are these notifications triggered ?
I am currently reading through the controls/edit.c source, to understand how this control repaints itself.
__________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com