Solved

Popup that never receives the focus - and doesn't interfere with other apps.

Posted on 2004-08-18
5
236 Views
Last Modified: 2010-04-17
Does anyone know how I can create a popup window that won't interfere with other programs.  One that does not receive the focus.  For example, let's say someone has Word open and is actively typing into Word.  Then my program pops up a window on top of Word, but doesn't interfere with them typing into Word.  Similar to a "you've got mail" popup that goes away on it's own, but never receives the focus and/or interferes with other running applications.

0
Comment
Question by:hartsockt
  • 2
5 Comments
 
LVL 4

Expert Comment

by:rlibrandi
ID: 11840219
With VB you create a form - say frmMain
Inside the form place a text box - txtMessage


In a Public Sub, set the form's properties:

Public Sub Main()
 
     frmMain.Active = False
     frmMain.txtMessage.Text = "Hello"
     'any other settings you want to set here
     .
     .
     .
     Load frmMain
     frmMain.Show 0    'the "0" opens the form as modless
End Sub

Of course you'll have to set your project properties startup object as Sub Main


Hope this helps
0
 
LVL 4

Expert Comment

by:rlibrandi
ID: 11840276
Need to retract my comment.  I was way off - sorry.  I guess I'd better log off and get more coffee.
0
 
LVL 11

Accepted Solution

by:
coopzz earned 125 total points
ID: 11849454
if you've got vb.net this would be perfect

http://www.codeproject.com/cs/miscctrl/taskbarnotifier.asp
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question