Click here to Skip to main content
15,921,905 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Multiple Controls One Handler Pin
monrobot135-Mar-04 6:06
monrobot135-Mar-04 6:06 
GeneralRe: Multiple Controls One Handler Pin
James R. Twine5-Mar-04 7:26
James R. Twine5-Mar-04 7:26 
GeneralRe: Multiple Controls One Handler Pin
monrobot135-Mar-04 10:51
monrobot135-Mar-04 10:51 
GeneralAdoConnection.Execute Pin
ananymous4-Mar-04 20:27
ananymous4-Mar-04 20:27 
GeneralRe: AdoConnection.Execute Pin
monrobot134-Mar-04 20:33
monrobot134-Mar-04 20:33 
GeneralRe: AdoConnection.Execute Pin
Prakash Nadar4-Mar-04 20:34
Prakash Nadar4-Mar-04 20:34 
GeneralRe: AdoConnection.Execute Pin
Mike Beckerleg5-Mar-04 1:01
Mike Beckerleg5-Mar-04 1:01 
GeneralServices - Advanced - Pin
JensB4-Mar-04 20:12
JensB4-Mar-04 20:12 
Hi
I have created a service out of a program using the program SRVANY.EXE.

When you click the minimise button of the program, an icon of the program is automatically added to the tray bar. When you double click the icon, the program is shown.

Now, when i minimise the program, which runs as interactive service with local system account .. it is added to the tray bar. When i log out and then log in, the icon is removed from the tray bar and i still can see the program (process) in my task manager so it still runs.

I thought my code removed the icon itself, so i checked that but the 'WM_DESTROY' isn't send by the system when you logout so my program doesn't remove it itself (Windows does).

Is there any way around this? And does anyone know which messages the service manager sends to the program to stop or reboot? I would highly appreciate any help.

Best regards,
Jens
GeneralRe: Services - Advanced - Pin
Prakash Nadar4-Mar-04 20:17
Prakash Nadar4-Mar-04 20:17 
GeneralRe: Services - Advanced - Pin
JensB4-Mar-04 20:23
JensB4-Mar-04 20:23 
GeneralRe: Services - Advanced - Pin
JensB4-Mar-04 20:45
JensB4-Mar-04 20:45 
GeneralRe: Services - Advanced - Pin
Prakash Nadar4-Mar-04 21:26
Prakash Nadar4-Mar-04 21:26 
GeneralProblem with Hooks Pin
bilal784-Mar-04 19:17
bilal784-Mar-04 19:17 
GeneralRe: Problem with Hooks Pin
Mike Beckerleg5-Mar-04 1:11
Mike Beckerleg5-Mar-04 1:11 
GeneralRe: Problem with Hooks Pin
bilal787-Mar-04 17:58
bilal787-Mar-04 17:58 
GeneralRe: Problem with Hooks Pin
Mike Beckerleg7-Mar-04 22:51
Mike Beckerleg7-Mar-04 22:51 
GeneralRe: Problem with Hooks Pin
bilal788-Mar-04 1:07
bilal788-Mar-04 1:07 
GeneralRe: Problem with Hooks Pin
Mike Beckerleg9-Mar-04 3:13
Mike Beckerleg9-Mar-04 3:13 
GeneralRe: Problem with Hooks Pin
bilal789-Mar-04 17:37
bilal789-Mar-04 17:37 
QuestionHow to get Users and their rights of current system? Pin
.NetRams4-Mar-04 17:53
.NetRams4-Mar-04 17:53 
GeneralGet MAC address (exclude VPN adp) Pin
gilc1374-Mar-04 15:59
gilc1374-Mar-04 15:59 
Questionhow to receive app launch message? Pin
chpsoft4-Mar-04 14:28
chpsoft4-Mar-04 14:28 
AnswerRe: how to receive app launch message? Pin
Joel Lucsy4-Mar-04 16:00
Joel Lucsy4-Mar-04 16:00 
GeneralRe: how to receive app launch message? Pin
chpsoft4-Mar-04 16:16
chpsoft4-Mar-04 16:16 
GeneralRe: how to receive app launch message? Pin
bilal784-Mar-04 19:30
bilal784-Mar-04 19:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.