Let's say I want to hide a process or I want to change it's window mode (normal, minimized, etc)... How can I do this?
I've been searching for it but I couldnt find anything so far.
:confused:
Printable View
Let's say I want to hide a process or I want to change it's window mode (normal, minimized, etc)... How can I do this?
I've been searching for it but I couldnt find anything so far.
:confused:
I was trying to do something similar. I could'nt find a way to do it in .NET, so I had to use the API.
But there HAS to be a way!!!!!!!! :(Quote:
Originally posted by DevGrp
I was trying to do something similar. I could'nt find a way to do it in .NET, so I had to use the API.
anyone?
u mean like those msn addons and sc hacks?
well dunno exactly....never used any of them:DQuote:
Originally posted by Aerials
u mean like those msn addons and sc hacks?
Well let's say I want to hide an app/minimize it or whatever... I need to send a message to it.... I could do it in vb6 with some APIs but I'de like to aviod APIs if possible:rolleyes:
Do you mean to change the window state of a program you wrote or someone elses?
someone elses:DQuote:
Originally posted by Matt02
Do you mean to change the window state of a program you wrote or someone elses?
I've been looking and it seems you could process the windows message stack to send and recieve messages in .net, problem is I don't know how you could determine the handle of other windows in .net. So I think you are going to have to use api calls.
REALLY!? how?! tell me!!!!!!! PLZ!Quote:
Originally posted by Matt02
I've been looking and it seems you could process the windows message stack to send and recieve messages in .net, problem is I don't know how you could determine the handle of other windows in .net. So I think you are going to have to use api calls.
I'm using processes and I can get the handle of it with Process.Handle ()....tell me how you do it:D
Sorry about that, I was wrong. You can process the windows message stack to recieve messages, but it looks like microsoft dosen't want you to be able to send messages to the message stack using .net since its a little bit of a security risk.
Oh well, looks like you have to use the sendmessage api call.:(