Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

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

by elwarren (Priest)
on Nov 29, 2004 at 19:21 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://411011]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (8)
As of 2024-04-23 14:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found