473,473 Members | 1,974 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Minimize to system tray

I've got the minimize portion down, but can't get the opposite to
happen when I double-click on the Notify Icon. here's my code:

Private Sub PlainDialer_Resize(ByVal sender As Object, ByVal e As
System.EventArgs) Handles MyBase.Resize
If Me.WindowState = FormWindowState.Minimized Then
Me.ShowInTaskbar = False
End If
End Sub

Private Sub niGD_DoubleClick(ByVal sender As Object, ByVal e As
System.EventArgs) Handles niGD.DoubleClick
If Me.WindowState = FormWindowState.Minimized Then
Me.WindowState = FormWindowState.Normal
Me.Activate()
Me.ShowInTaskbar = True
End If
End Sub

I can see it in the taskbar, but that's it :(
Thanks,
Tibby
Nov 21 '05 #1
3 2542
Tibby,

For me it works fine,

(I made the notificon icon visible and invisible to make it even more
showable)

I hope this helps?

Cor
Nov 21 '05 #2
On Thu, 12 Aug 2004 13:18:18 +0200, "Cor Ligthert"
<no**********@planet.nl> wrote:
Tibby,

For me it works fine,

(I made the notificon icon visible and invisible to make it even more
showable)

I hope this helps?

Cor

Well, I've been having some small issues with my Xp box, so that may
be the root of the problem, unless there's something else in the code
goofing things up. Now that I know that code does work, I will have
to pick apart the program line by line and see what I can find, maybe
it's in the paint events.....

Thank Cor,
Tibby

Nov 21 '05 #3
On Thu, 12 Aug 2004 13:18:18 +0200, "Cor Ligthert"
<no**********@planet.nl> wrote:
Tibby,

For me it works fine,

(I made the notificon icon visible and invisible to make it even more
showable)

I hope this helps?

Cor

I'm starting to think it's just my PC, which would be kinda wierd,
..NET is supposed to alliviate those problems... Hmmmmmmm
Tibby
Nov 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Austin | last post by:
I wrote a GUI program with wxPython. In the window, there are 3 attributes on left top. "_" could let the program to minimize to tool bar. I want to let the program minimized to the system tray....
2
by: varadha | last post by:
Hi, i want to create a VC++ application that minimizes to system tray when i minimize it. This application should be running in the background and doing it process(Just like Yahoo messanger...
4
by: mphanke | last post by:
Hi, how can I minimize an application to the tray? Snippets welcome. Martin
1
by: Xarky | last post by:
Hi, I followed the follwoing post to minimize application to system tray....
3
by: Maka Sili | last post by:
Hi, My VC++ application does not have a titlebar (and therefore no System menu, no minimize, no maximize and no close button). We have a custom button for minimize and close. When the app...
4
by: steve | last post by:
hi all, i was wondering how is it possible to add an extra box ( i think they are called boxes: upper right corner ...) in a form that will minimize it in the system tray? You know some...
5
by: Yancey Jones | last post by:
I am looking for some example code for minimizing a 3rd part app to the system tray. I am working on writing a service to control VMWare and when a user logs in, I would like to minimize the VMWare...
8
by: Avi G | last post by:
Hi, i've created an application and i want it to be minimized to the sys tray, how i do it? if you can direct me step by step even with create a small application and put it in the sys tray ...
1
by: zakhirn | last post by:
Anyone have code that creates a button that will Minimize Excel to the system tray. I do not need anything complicated like changing the minimize button or the close button to a minimize to...
3
by: Jimmy | last post by:
I'm kinda newbie to python and wxPython. Now I'm confronting a thorny problem: how can I make my program minimize to the taskbar represented as an ico, and when there is some message from network...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.