English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I have a program that hides both the window, and the taskbar icon. When the program starts, it displays either the tray icon, or the window. This works fine, however if the program is already running it just starts a new instance. i am going to set the program to only have one instance. this is my issue. when i run the exe for the 2nd time, while the application is already running, i want it to run certain code, where do i write this code. the part that detects weather to run either the window or the tray icon is in the load code. but this code wont run when i open the exe for the second time, will it? i assume it will just bring the app to focus. is there code that i can write that will work when the app takes focus?
thanks

2006-11-29 11:43:22 · 1 answers · asked by Jamie J 3 in Computers & Internet Programming & Design

1 answers

well i dont know but i think you can do that

2006-11-29 18:50:35 · answer #1 · answered by thundrmark 4 · 0 0

fedest.com, questions and answers