Solved

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

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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.
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
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 …

733 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