473,769 Members | 2,120 Online
Bytes | Software Development & Data Engineering Community
+ 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_Res ize(ByVal sender As Object, ByVal e As
System.EventArg s) Handles MyBase.Resize
If Me.WindowState = FormWindowState .Minimized Then
Me.ShowInTaskba r = False
End If
End Sub

Private Sub niGD_DoubleClic k(ByVal sender As Object, ByVal e As
System.EventArg s) Handles niGD.DoubleClic k
If Me.WindowState = FormWindowState .Minimized Then
Me.WindowState = FormWindowState .Normal
Me.Activate()
Me.ShowInTaskba r = True
End If
End Sub

I can see it in the taskbar, but that's it :(
Thanks,
Tibby
Nov 21 '05 #1
3 2558
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**********@p lanet.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**********@p lanet.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
4749
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. Is there any way to let the window have 4 attributes? "." "_" "O " "x"
2
8150
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 which minimizes to the syetem tray when we minimize it). Can u help me out in this.
4
17393
by: mphanke | last post by:
Hi, how can I minimize an application to the tray? Snippets welcome. Martin
1
377
by: Xarky | last post by:
Hi, I followed the follwoing post to minimize application to system tray. http://groups.google.com/groups?hl=mt&lr=&threadm=ODOAWyDwEHA.3084%40TK2MSFTNGP10.phx.gbl&prev=/groups%3Fnum%3D25%26hl%3Dmt%26lr%3D%26group%3Dmicrosoft.public.dotnet.languages.csharp%26start%3D25 Now, when application is in system tray, I tried to double click on it to open, but its not opening. I added the following code private void trayIcon_DoubleClick(object...
3
4965
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 is in normal/maximized view, clickinng on the taskbar entry does not minimize the application. Normally (with apps with titlebar), the application would minimize when you click on
4
4100
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 applications have a 4th one (apart from the square , bar and X ) which contains a dot and once u click it minimizes the application to the tray. TIA
5
1780
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 window(s) to the system tray and hide it from the task bar (and of course un-hide the VMWare windows should the user choose to do so from the system tray). I have been searching but havent found anything yet. I am guessing that it is...
8
4548
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 Thanks
1
2856
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 tray button. I have a Form that pops up when excel loads, and I will add a command button called Minimize that I just want to minimize excel to the system tray.
3
14287
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 coming, it will pop out?
0
9579
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10208
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9987
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9857
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8867
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7404
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6662
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5444
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3952
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.