|
-
Aug 3rd, 2012, 08:51 AM
#1
Thread Starter
Member
Clock system tray pop up box on event (time change)
http://www.vbforums.com/showthread.p...em-tray-popup)
Now I want what I've asked for in the thread title. The event would be for example the time changing to "12:00"
Thanks a lot
-
Aug 3rd, 2012, 09:42 AM
#2
Thread Starter
Member
Re: Clock system tray pop up box on event (time change)
Another website after some Googling (http://www.xtremevbtalk.com/showthread.php?t=93500) told me that I can use a popupmenu?? I'm not sure how I go about that but I gave this a shot and it didn't work:
Code:
Sub PopupMenuVisible()
If Time >= "12:00" Then PopupMenu.Visible = True
If Time >= "12:00" Then PopupMenu.Caption = "It's the Afternoon!"
End Sub
I'm aware if that code *did* work, it'll be visible forever (as opposed to a set time of let's say 5 seconds), but I was going to deal with that when I got the first bit working.
Thanks again,
Max
-
Aug 5th, 2012, 05:50 AM
#3
Thread Starter
Member
Re: Clock system tray pop up box on event (time change)
-
Aug 5th, 2012, 06:39 AM
#4
Re: Clock system tray pop up box on event (time change)
A PopupMenu is basically a right-click menu (like you get if you right-click on a web page, etc).
The description of what you want is far from clear, but I don't think you want a PopupMenu. What I think you want is a window that "appears" (perhaps slide in to view) and stays there for a while... which you can do by creating (and moving) a Form.
-
Aug 5th, 2012, 03:17 PM
#5
Re: Clock system tray pop up box on event (time change)
Create a form and move it to the bottm corner when its 12 and make it visible for acouple seconds then back to invisible?
-
Aug 6th, 2012, 03:49 AM
#6
Thread Starter
Member
Re: Clock system tray pop up box on event (time change)
Sorry. What I'm asking for is a Tool tip box (?) but Max's suggestion seems a simple solution.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|