This topic is now archived and is closed to further replies.

Edit Control Problems

This topic is 5846 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

ok heres the deal I''ve got a window full of edit controls... I need to be notified by the edit controls any time the user makes a change to the text of each edit control (so I can update other controls) well the problem is only way I have found to do this (base on the info in MS-VC''s help files) is to do a SendMessage (EM_GETMODIFIED) to each edit using a timer... this seams to create bugs... like the cursor keeps on jumping to the begining of the text or the text just magicaly disapears... I tried to fix it by making shure that the edit control that has been changed doesn''t get the update message.... well this only half worked.... it seems to have lessened the problem but it still doesn''t fix it... anyone got an idea?

Share this post

Link to post
Share on other sites
< snip from Platform SDK >

The EN_CHANGE notification message is sent when the user has taken an action that may have altered text in an edit control. Unlike the EN_UPDATE notification message, this notification message is sent after the system updates the screen. The parent window of the edit control receives this notification message through a WM_COMMAND message.

< /snip >

Look for that message in the Platform SDK and it will give you everything you need to know .

Here is a link to get you pointed in the right direction.


Edited by - slepyii on December 13, 2001 10:29:26 AM

Share this post

Link to post
Share on other sites