views:

24

answers:

0

Hi I'm dealing with a really annoying bug here... Basically I have an MFC application, that has a CEdit used to display some text in read-only mode(CStatic is not used, because CEdit provides the scrolling feature).

After some set of actions is performed, the CEdit quits processing WM_SETTEXT messages. It does receive them - I can clearly see this from Winspector Spy, but the text never shows up in the CEdit.

Setting text is done from the UI thread.

What could possibly cause this bug?

Thanks ak