At 13:24 2003-06-17 +0200, Aldo Calpini wrote:
the following code implements a regular modal window, with all the
features. the trick is in the "-parent" option, and proper use of
Enable/Disable, Show/Hide and BringWindowToTop.
If it works, absolutely wonderful!
But see if it works with two opened windows. The modal window can only have
one of them as -parent. IIRC, that was the problem with the
Win32::GUI::Modalizer class.
Is there any way of enumerating created windows? Or child windows of a window?
Witht the ability to traverse a window hierarchy it should be trivial to
write DoModal(), and EndModal() methods to call on a modal window.
/J
-------- ------ ---- --- -- -- -- - - - - -
Johan Lindström Sourcerer @ Boss Casinos [EMAIL PROTECTED]
Latest bookmark: "Hacking and Refactoring"
http://www.artima.com/weblogs/viewpost.jsp?thread=5342
dmoz (1 of 23): /Computers/Hacking/Ethics/ 43