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?

In reply to Win32::GUI MessageBox by coldmiser

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.