Wine test question: How to test for messages send?

Vitaliy Margolen wine-devel at kievinfo.com
Wed May 11 19:58:05 CDT 2005


Wednesday, May 11, 2005, 6:02:43 PM, you wrote:
> Hello,

> I'm trying to write a conformance test for user/edit.c: 
> EDIT_EM_ReplaceSel().

> While I figured out how to send messages, call functions etc. I don't 
> know how to check whether a message has been sent. But I need to know 
> whether Windows sends one as a EDIT_NOTIFY_PARENT(es, EN_MAXTEXT, 
> "EN_MAXTEXT") causes my Origin to crash.
[cut]
You can look at dlls/user/tests/win.c for examples on how to write your own
WndProc, attach it to window and test for messages received.

Vitaliy







More information about the wine-devel mailing list