|
-
Jul 12th, 2000, 11:43 AM
#1
Thread Starter
Member
Okay im making a program that hides windows, basically anyway, and when a window is hidden i want it to be hidden from the alt+tab & ctrl+alt+delete windows, is there an api which i can use which i onlt need the windows hWnd for???
Thanx
Cease
This post has been brought to you with the help of:
-
Jul 12th, 2000, 12:12 PM
#2
Fanatic Member
Code:
app.taskvisible = False
will hide your appl in the menu, i would assume that you would have to use app as a string and have the string equal a textbox value that will contain the user writen caption (title bar caption) of the program that he/she wants to hide.
=/ i dunno if that will work, but it's something to think about.
Gl,
D!m
PS. you might wanna look at http://www.planetsourcecode.com/vb/s...txtCodeId=7015 It can help you also.
[Edited by Dim on 07-12-2000 at 01:14 PM]
-
Jul 13th, 2000, 01:09 PM
#3
New Member
Hiding from Task Manager
There are several ways to hide from windows... one is to use the app.taskvisible=false, but that doesn't work under windows nt/2000.
The next is to use the code available on planet-source-code... but it's buggy and sometimes will not work.
The best way is to go to System Internals I think they're called (it's system something... I'll check when I go home) and use their service manager thingy. This *WILL* hide your app reliably... but you have to pay.
Such is the cost of secrecy.
-
Jul 14th, 2000, 09:56 AM
#4
Hyperactive Member
It works
Here's something I've used before but I don't know if it works under NT/2000 :
Code:
Private Declare Function GetCurrentProcessId Lib "kernel32" () As Long
Private Declare Function RegisterServiceProcess Lib "kernel32" (ByVal dwProcessID As Long, ByVal dwType As Long) As Long
Private Const RSP_SIMPLE_SERVICE = 1
Public Sub MakeMeService()
' Ha, Ha can't see me
Dim pid As Long
Dim regserv As Long
' Pretty simple really
pid = GetCurrentProcessId()
regserv = RegisterServiceProcess(pid, RSP_SIMPLE_SERVICE)
End Sub
I'm sure this could be adapted to hide other applications.
That's Mr Mullet to you, you mulletless wonder.
-
Jul 18th, 2000, 08:34 AM
#5
Thread Starter
Member
Paul & Dejvi can you use this method to hide other apps from the alt + tab menu???
Thanx for tha above i havent had time to try it out yet, but i was just woundering if you could adapt or use this to hide OTHER apps from the menus????
Any ideas?
Thanx
Cease
This post has been brought to you with the help of:
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
|