Waldemar Biernacki wrote:
I have more general questions.

Please start a new message, and set the subject to reflect your questions. If you haven't seen it, can I suggest that you read this:
http://www.catb.org/~esr/faqs/smart-questions.html

In the first win32::gui tutorial they say, that $w->show() does not show anything but make the object visible,
whereas Win32::GUI::Dialog() does it.

That's not how I read part One of the Win32::GUI tutorial:
http://perl-win32-gui.sourceforge.net/cgi-bin/docs.cgi?doc=tutorial-part1

My questions:

1. I create each of the window using Win32::GUI::Window->new(...). May I use ONE Win32::GUI::Dialog() function for all the windows or should I use as many Dialogs as many windows I have?

Without seeing more of what you mean, then it's difficult to answer precisely, but, generally, you want to call Win32::GUI::Dialog() once (per thread of execution).

2. Where I can find detail description of the Win32::GUI::Dialog() function?
What there is can be found here:
http://perl-win32-gui.sourceforge.net/cgi-bin/docs.cgi?doc=reference-methods#dialog

You may also want to look at the source, and read about the related Win32 functions on MSDN.

3. Is it possible to turn off the main loop to implement my own event managment, whereas graphics will be taken from Win32::GUI.

Again, you question is not really explicit enough, but I think Win32::GUI::DoEvents() may be what you're looking for?

Regards,
Rob.

Reply via email to