http://bugs.winehq.org/show_bug.cgi?id=12540
--- Comment #19 from Igor Tarasov tarasov.igor@gmail.com 2008-05-21 17:28:25 --- Created an attachment (id=13227) --> (http://bugs.winehq.org/attachment.cgi?id=13227) Test application source
Umm... Here is the source. But it is a quick and dirty (really dirty) rewrite of example WinMenu program that was supplied with DevC++ in which it all was written and compiled under wine.
I hope you'll be able to make a test out of it.