|
-
March 23rd, 2005, 09:16 PM
#1
System Tray Application
Dear Friends
I developed an application to Appeare on System Tray. THis is continuasly running.
I used Timer Control and "Shell_NotifyIcon" API in that application. Peogram is work fine.
I am using windows 2000.
Problem is I cant shut down windows since the above program is running.
Please can any body help me.
--
web : http://www.freewebs.com/dineshns
-
March 23rd, 2005, 09:39 PM
#2
Re: System Tray Application
ise the terminate process api...
Private Declare Function TerminateProcess Lib "kernel32" (ByVal hProcess As Long, ByVal uExitCode As Long) As Long
Private Declare Function GetCurrentProcess Lib "kernel32" () As Long
TerminateProcess GetCurrentProcess, 0
-
March 23rd, 2005, 09:44 PM
#3
Re: System Tray Application
Thank you for your quick response.
How do I use
Private Declare Function TerminateProcess Lib "kernel32" (ByVal hProcess As Long, ByVal uExitCode As Long) As Long
Private Declare Function GetCurrentProcess Lib "kernel32" () As Long
Can you please explain how can I use above API's
Thank you again
--
web : http://www.freewebs.com/dineshns
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
|