Results 1 to 5 of 5

Thread: Hiding windows from the alt+tab & ctrl+alt+delete windows

  1. #1

    Thread Starter
    Member
    Join Date
    May 2000
    Posts
    43
    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:

  2. #2
    Fanatic Member Dim's Avatar
    Join Date
    Jul 2000
    Posts
    620
    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]
    Dim

  3. #3

    Red face 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.

  4. #4
    Hyperactive Member Paul Warren's Avatar
    Join Date
    Jun 2000
    Location
    UK
    Posts
    282

    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.

  5. #5

    Thread Starter
    Member
    Join Date
    May 2000
    Posts
    43

    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
  •  



Click Here to Expand Forum to Full Width