Center Messagebox

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Que

    #1

    Center Messagebox

    Hi

    I have a form that catches an exception and throws a Messagebox

    Is it possible to throw the message box to center in the form that
    throws the exception

    Like Centre in parent form or something like that

    as it seems that you can only centre to the desktop

    Thanks In Advance

    Regards Que

  • IdleBrain

    #2
    Re: Center Messagebox

    Create your own form simillar to a messagebox and you can specify where
    the form should appear.

    Hope it helps!

    Que wrote:
    Hi
    >
    I have a form that catches an exception and throws a Messagebox
    >
    Is it possible to throw the message box to center in the form that
    throws the exception
    >
    Like Centre in parent form or something like that
    >
    as it seems that you can only centre to the desktop
    >
    Thanks In Advance
    >
    Regards Que

    Comment

    • Herfried K. Wagner [MVP]

      #3
      Re: Center Messagebox

      "IdleBrain" <indianmostwant ed@yahoo.comsch rieb:
      Create your own form simillar to a messagebox and you can specify where
      the form should appear.
      Implementing a message box with standard behavior
      <URL:http://dotnet.mvps.org/dotnet/faqs/?id=custommsgbo x&lang=en>

      ..NET 2.0 has an additional 'SystemSounds' class.

      --
      M S Herfried K. Wagner
      M V P <URL:http://dotnet.mvps.org/>
      V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

      Comment

      Working...