http://www.perlmonks.org?node_id=578879

coldmiser has asked for the wisdom of the Perl Monks concerning the following question:

I'm trying to put together a message window on my PC that will display a message on top of everything else. I also want to display the message window even if no one is logged into the system. I am able to get this far with it
use Win32::GUI; $main = Win32::GUI::Window->new(); $main->MessageBox($ARGV[0], "",0x001000|0x000030);
The problem I am having is where I want this message box to be displayed even when no one is logged into the system. I am trying to add the MB_SERVICE_NOTIFICATION type to this message box like so:
use Win32::GUI; $main = Win32::GUI::Window->new(); $main->MessageBox($ARGV[0], "",0x200000|0x001000|0x000030);
But when I do that, the message box stops showing up completely. Has anyone experienced problems like this? Is the 0x200000 number I'm using the wrong one?