Message Box in C#

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

    Message Box in C#

    Hi
    Could anybody tell me how to display a messagebox in C# for limited
    time say 3 secs without any buttons on it.

    Thanks
  • Picho

    #2
    Re: Message Box in C#

    I dont think you can diplay a messagebox with no buttons to start with.
    just create a small form with a message and a timer. override showdialog()
    and responde to the timer elapsed event for closing it.

    Picho


    "Rajeev" <navvyus@yahoo. com> wrote in message
    news:8fa6add7.0 405181016.12eab 0b6@posting.goo gle.com...[color=blue]
    > Hi
    > Could anybody tell me how to display a messagebox in C# for limited
    > time say 3 secs without any buttons on it.
    >
    > Thanks[/color]


    Comment

    • Cowboy

      #3
      Re: Message Box in C#

      I would just pop up a form with a timer and have it self-destruct. If the
      form is modal, the user will have to wait until it goes away to do anything.
      Not exactly what you asked for, but it will serve the same purpose.

      --
      Gregory A. Beamer
      MVP; MCP: +I, SE, SD, DBA

      *************** *************** *************** ***
      Think Outside the Box!
      *************** *************** *************** ***
      "Rajeev" <navvyus@yahoo. com> wrote in message
      news:8fa6add7.0 405181016.12eab 0b6@posting.goo gle.com...[color=blue]
      > Hi
      > Could anybody tell me how to display a messagebox in C# for limited
      > time say 3 secs without any buttons on it.
      >
      > Thanks[/color]


      Comment

      • Alex Moskalyuk

        #4
        Re: Message Box in C#

        MSN Messenger-styled pop-ups that inherit from Windows.Forms.F orm


        --
        Alex Moskalyuk
        _______________ ______________



        "Rajeev" <navvyus@yahoo. com> wrote in message
        news:8fa6add7.0 405181016.12eab 0b6@posting.goo gle.com...[color=blue]
        > Hi
        > Could anybody tell me how to display a messagebox in C# for limited
        > time say 3 secs without any buttons on it.
        >
        > Thanks[/color]


        Comment

        • Francois Beaussier

          #5
          Re: Message Box in C#

          "Rajeev" wrote :
          [color=blue]
          > Hi
          > Could anybody tell me how to display a messagebox in C# for limited
          > time say 3 secs without any buttons on it.[/color]

          Hello, here is an example:



          --
          Francois Beaussier
          Francois@3ie.or g.remove


          Comment

          Working...