Re: [perl-win32-gui-users] DC and GetTextExtentPoint32

2002-04-13 Thread Sean Healy
Hi Everybody First of all I must say I'm completely new to the Win32::GUI module programming (and Win32 in general) - I just installed (on Win'98 and latest version of ActiveState Perl) binary version fetched from sourceforge. Getting to the point - to get the length and width of some font te

[perl-win32-gui-users] DC and GetTextExtentPoint32

2002-04-13 Thread Darek Adamkiewicz
Hi Everybody First of all I must say I'm completely new to the Win32::GUI module programming (and Win32 in general) - I just installed (on Win'98 and latest version of ActiveState Perl) binary version fetched from sourceforge. Getting to the point - to get the length and width of some font tex

[perl-win32-gui-users] Textfield / RichEdit problem concerning CANCEL key

2002-04-13 Thread Joey Li
Hi, If I use DialogBox and create a multiline Textfield or a RichEdit, and if I press "cancel" when the control has the focus, the dialog window disappears (I'm afraid it's destroyed at this point). Do you happen to know what to prevent this to happen? Assigning "-cancel" option to a button won't

Re: [perl-win32-gui-users] Alarm clock

2002-04-13 Thread Johan Lindstrom
Ed wrote: The way I would probably do this, without a gui, is to read the file, figure out what time to go off, convert it to seconds and sleep until then. But I can't do that because the main gui loop is always running waiting for an event, correct? How would I do a periodic check on the alarm t

[perl-win32-gui-users] Alarm clock

2002-04-13 Thread ed
Hey all. I want to write a simple alarm clock that will play a wav file, probably using win32::sound . My idea for this little app, is that I will be able to enter the time that it will go off, and allow it go off at specified intervals afterwards. For instance, I want to set it to go off at 1