I've added timers to the testcases so that the Dialog loop actually runs
and the windows gets displayed for one second until the timer kills the
window.
This is a poor-mans gui test, not the required SendMessage tests yet.

Note that the docs for Timer say that Timer->Kill does not destroyl
the timer and it can be re-enabled with ->Interval().
This is not true as my tests show.
Killed timers can be re-enabled by changing the Interval > 0.
Or this there another trick?

> I've added more tests and added a Timer reflection -window to ensure
> that the parent window -timers and -name gets properly deleted on
> KillTimer().
>
> Same should be done for Cursor and Icon, but maybe the window
> can be easily reconstructed from the handle?
>
> I've also removed most of the ending whitespace.
-- 
Reini Urban
http://phpwiki.org/   http://xarch.tu-graz.ac.at/home/rurban/

Attachment: Win32-GUI-1.01_03.patch.gz
Description: GNU Zip compressed data

Reply via email to