Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Using Perl to write application to interact with users on Windows OS

by elwarren (Curate)
on Nov 29, 2004 at 19:21 UTC ( #411011=note: print w/ replies, xml ) Need Help??


in reply to Using Perl to write application to interact with users on Windows OS

As long as you have security setup properly for your background service as BrowserUK points out, you can easily create a window using Win32::GUI. You create a window, add some controls (text and buttons) and some events, then make it visible. User clicks on message, maybe enters text, you set the window to hidden until you need it again.

Depending on what your background process is doing, and how you're handling your event loop, forking a process for the gui component might be a good idea. You wouldn't want (but maybe you do) the gui to wait for input and stop the rest of your code from running. Win32::GUI has lots of examples, and there is some nice Win32::GUI code on this site as well.

HTH


Comment on Re: Using Perl to write application to interact with users on Windows OS

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://411011]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (15)
As of 2014-10-21 18:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (106 votes), past polls