473,657 Members | 2,735 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how to restore an application from the sys tray by hwnd

hi everybody

I'm using VB6
I need to restore a program that resides in the sys tray.
I menage to write a function that finds the hwnd of the program but I can't
figure out how to restore the program from the sys tray

can someone help pls

thanks
Jul 7 '07 #1
2 3882
yolilb wrote:
hi everybody

I'm using VB6
I need to restore a program that resides in the sys tray.
I menage to write a function that finds the hwnd of the program but I can't
figure out how to restore the program from the sys tray
You would really need to talk to the authors.
If they just hide it, then you can call ShowWindow with SW_SHOW.
If they do anything more than that then you will need to find out what.

--
Dean Earley (de*********@ic ode.co.uk)
i-Catcher Development Team

iCode Systems
Jul 7 '07 #2
thank you for your help
"Dean Earley" <de*********@ic ode.co.ukwrote in message
news:46******** *************** @news.zen.co.uk ...
yolilb wrote:
>hi everybody

I'm using VB6
I need to restore a program that resides in the sys tray.
I menage to write a function that finds the hwnd of the program but I
can't
figure out how to restore the program from the sys tray

You would really need to talk to the authors.
If they just hide it, then you can call ShowWindow with SW_SHOW.
If they do anything more than that then you will need to find out what.

--
Dean Earley (de*********@ic ode.co.uk)
i-Catcher Development Team

iCode Systems

Jul 7 '07 #3

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

Similar topics

0
1485
by: Joe Harrison | last post by:
Hello. I have an application which I check to see if there is another running instance at startup. If there is another running instance, I set focus to the existing instance. I am using code that I found on a webpage to do this (Code I am using is at the bottom of this post). When the application is minimized, the form is hidden and an icon appears in the System Tray. My problem is that when I run another instance, the new instance...
1
2703
by: Manoj Nair | last post by:
Hi, The problem : Have a system tray application.This has a menu item 'Exit'. On click of this a differnt application with a UI which runs in the background should close. The other application requires a Keyboard combination of Ctrl + Shift + Alt + X to close it properly. After closing the other application the tray app should exit. (Process.Kill cannot be used)
3
1765
by: shivaranjani.s.adimulam | last post by:
Hi, I have a problem regarding restoring previous instance of an application minimized in systray.So that when I try to run the application it should maximize its previous instance instead of creating a new one. The part of code is like - I have one function which returns the instance of the
2
2632
by: Robert S. Liles | last post by:
Following the advice of several members, especially Dragon, I have gotten this routine to work. If you double click on your program's icon to load it, and it is already running minimized into the sysem tray, it will just reopen the running instance, not create another instance. Put this Function into a Module in a DLL and call it like If NoLoad(Me) then END in your Form1.Load routine. This function returns TRUE if an instance is...
6
2299
by: Glenn | last post by:
I can determine if another instance is running, but how do I get it's minimized window to restore (in VBNET). Using the standard win32 functions is not working. Thanks
7
9487
by: Wayne | last post by:
I have found the following code on this newsgroup that removes the Access Application minimize, restore and close buttons. Private Const GWL_EXSTYLE = (-20) Private Const GWL_STYLE = (-16) Private Const WS_MAXIMIZEBOX = &H10000 Private Const WS_MINIMIZEBOX = &H20000 Private Const WS_SYSMENU = &H80000
5
6121
by: scottt | last post by:
I asked a question along a similar line about a week ago and didn't get any replies. Let me try to ask the quetion again a little bit different to see if I can get some help on this problem. Is there a way (API function) from one program to restore another application that is running in the system tray? Specifically I need to send a double mouse click to the application to get it to restore from the system tray. Thanks.
5
2072
by: smarty | last post by:
I have an example of code that allows and application to minise to the notification tray but how can I override the minimise and close buttons to ensure they always go back to the notify tray instead of closing the application or minimising the the taskbar? I am sure this must be simple I just can't find any information about it.
4
6126
by: Octavius Khan | last post by:
I have an application that runs in the system tray and I use global hotkeys to perform functions. When certain hotkeys are pressed, my system tray application may display a message box and sometimes a balloontip, but then focus is taken away from the application the user is using when this happens. How can I return focus to the original application? For example, let's say the user is using Notepad and then presses Ctrl-F9. This causes...
0
8407
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
8739
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8512
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
5638
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
4171
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4329
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2739
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
2
1969
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1732
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.