Click here to Skip to main content
12,394,769 members (69,797 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C# Application
I am trying to display popup at RHS using timer control in window application in c#

All I want to do is to put a message on the screen, and I want it to be
visible no matter what application has the top level window.
Posted 24-Jan-13 19:44pm
ƒswati425

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

You can use MessageBox.Show Method (IWin32Window, String) to display a message box in front of the specified object and with the specified text. Such as
MessageBox.Show(new Form() { TopMost = true }, "Your text here!"); 

But I would rather prefer to create my own messagebox from a from which basically acts like a message box. After creating it set its TopMost property to true and call it with the .ShowDialog() method.

Good luck,
OI
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160721.1 | Last Updated 25 Jan 2013
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100