NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Do you even need a toolkit? (Score:2)
periodically pop up alerts on my machine
do you even need a GUI toolkit? It seems to me like a plain MessageBox [microsoft.com] API call is all you need.
That is, unless you want the script to continue running while the message is shown. In that case, you could set up a simple window with The GUI Loft [darserman.com]. Oldie, but probably good enough.
And I've never seen a service with a GUI, I'm not sure if it will behave nicely.
Re:Do you even need a toolkit? (Score:2)
I said
And I've never seen a service with a GUI, I'm not sure if it will behave nicely.
and today I found this blog post: Do you still use the MessageBox API in your Windows Service? (Or do you display any type of User Interface?) [msdn.com]
and it says:
It goes on to give a generic solution (plus a simple solution for just a messagebox), but it's anything but trivial.
But I was right to be wary.
And I'm not sure that this solution will work on a Windows earlier than Vista. At worst, you might have to hack in 2 interfaces, for multiple versions of Windows.
Reply to This
Parent