Click here to Skip to main content
15,896,453 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Date and Time Pin
Rahul Vaishnav28-Oct-07 21:52
Rahul Vaishnav28-Oct-07 21:52 
AnswerRe: Date and Time Pin
panthal29-Oct-07 1:34
panthal29-Oct-07 1:34 
QuestionInsert data to a SQL database on a click event. Pin
CodingLover28-Oct-07 20:51
CodingLover28-Oct-07 20:51 
NewsSoftware Engineers needed at Elektrobit (Beijing) Pin
zhaihuanyu28-Oct-07 20:34
zhaihuanyu28-Oct-07 20:34 
Questionhandling mouse event on a picture Pin
Joy_ee28-Oct-07 20:29
Joy_ee28-Oct-07 20:29 
QuestionRe: handling mouse event on a picture Pin
Nishad S28-Oct-07 20:36
Nishad S28-Oct-07 20:36 
AnswerRe: handling mouse event on a picture Pin
Hamid_RT28-Oct-07 20:43
Hamid_RT28-Oct-07 20:43 
QuestionDisable process termination Pin
hxhl9528-Oct-07 19:13
hxhl9528-Oct-07 19:13 
I tried searching this up on Google but I couldn't find anything. Is there any way to prevent a process from showing up under the processes tab in Windows Task Manager, or is it possible to not allow the termination of a process? I've tried something like this already:

::SendMessage(hWnd,LVM_DELETEITEM,(WPARAM)23,0);


Where hWnd is the HWND of the Task Manager window, but what happens is that the list refreshes every half second (I think) and deleting a process once won't work. Deleting it multiple times within 500 milliseconds results in process #24, 25, 26, etc. being deleted. And what's worse, there is NO way I can get the location of my app's process in the listbox. I don't know if it's the 1st process displayed or the last one, or somewhere in between.

So, is there ANY way to not allow a user to terminate a process, or to make an "invisible" process?

Thanks in advance. Smile | :)
AnswerRe: Disable process termination Pin
Hamid_RT28-Oct-07 19:21
Hamid_RT28-Oct-07 19:21 
AnswerRe: Disable process termination Pin
Michael Dunn28-Oct-07 19:40
sitebuilderMichael Dunn28-Oct-07 19:40 
GeneralRe: Disable process termination Pin
Mark Salsbery29-Oct-07 5:38
Mark Salsbery29-Oct-07 5:38 
QuestionHow to insert data into ListBox(Something Different) Pin
ashishbhatt28-Oct-07 19:09
ashishbhatt28-Oct-07 19:09 
AnswerRe: How to insert data into ListBox(Something Different) Pin
Hamid_RT28-Oct-07 19:16
Hamid_RT28-Oct-07 19:16 
GeneralRe: How to insert data into ListBox(Something Different) Pin
ashishbhatt28-Oct-07 19:30
ashishbhatt28-Oct-07 19:30 
GeneralRe: How to insert data into ListBox(Something Different) Pin
ashishbhatt28-Oct-07 19:39
ashishbhatt28-Oct-07 19:39 
GeneralRe: How to insert data into ListBox(Something Different) Pin
ashishbhatt28-Oct-07 20:09
ashishbhatt28-Oct-07 20:09 
GeneralRe: How to insert data into ListBox(Something Different) Pin
Hamid_RT28-Oct-07 20:39
Hamid_RT28-Oct-07 20:39 
Questionprogress bar should run without any click event Pin
neha.agarwal2728-Oct-07 19:01
neha.agarwal2728-Oct-07 19:01 
AnswerRe: progress bar should run without any click event Pin
Nishad S28-Oct-07 20:32
Nishad S28-Oct-07 20:32 
QuestionNeed Help on memory allocation problem Pin
manish.patel28-Oct-07 18:56
manish.patel28-Oct-07 18:56 
AnswerRe: Need Help on memory allocation problem Pin
Paresh Chitte28-Oct-07 19:04
Paresh Chitte28-Oct-07 19:04 
GeneralRe: Need Help on memory allocation problem Pin
manish.patel28-Oct-07 19:12
manish.patel28-Oct-07 19:12 
GeneralRe: Need Help on memory allocation problem Pin
Michael Dunn28-Oct-07 19:43
sitebuilderMichael Dunn28-Oct-07 19:43 
GeneralRe: Need Help on memory allocation problem Pin
jhwurmbach29-Oct-07 0:01
jhwurmbach29-Oct-07 0:01 
AnswerRe: Need Help on memory allocation problem Pin
Neo Andreson29-Oct-07 22:41
Neo Andreson29-Oct-07 22:41 

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.