Solved

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

Posted on 2004-08-18
5
235 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
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 …

932 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now