Dismiss Notice

REGISTRATION IS AFTER ADMIN ACTIVATION

DONATIONS WITH PAYPAL CLICK TO BUTTON

1 MONTH VIP - 5$; 3 MONTHS VIP - 10$; 6 MONTHS VIP - 20$; 1 YEAR VIP - 30$; 2 YEARS VIP - 50$; GOLD USER FOR LIFE VIP - 150$

DONATIONS WITH Bitcoin Address:3NRs3CK3fhXifrNYxHEZKpETDd9vNLMsMD

Dismiss Notice
The registration is approved by the Administrator. It takes about 1 day to approve your registration
Dismiss Notice
For open hidden message no need write thanks, thank etc. Enough is click to like button on right side of thread.

Hide your application from Windows TaskList

Discussion in 'Delphi Programming' started by AdminDF, Jan 6, 2014.

  1. AdminDF
    Online

    AdminDFAdminDF is a Verified Member DelphiFan Administrator Staff Member DF Staff

    // - Declare the fuction below before the word "implementation"


    Code:
    function RegisterServiceProcess(dwProcessID, dwType: Integer): Integer; stdcall; external
    'KERNEL32.DLL';

    // - Put two buttons on Form;
    // - On "OnClick" event from Button1 put:


    Code:
    RegisterServiceProcess(GetCurrentProcessID, 1);

    // - On "OnClick" event from Button2 put:
    Code:
    RegisterServiceProcess(GetCurrentProcessID, 0);

    {
    === Using ===
    Click on Button1 and press CTRL+ALT+DEL. Your Application don´t appear on Task List.
    Click on Button2 and press CTRL+ALT+DEL. Now your Application appear on Task List.
    }
     
  2. susnjezica90
    Offline

    susnjezica90 DF Member

    rocedure TForm1.FormCreate(Sender: TObject);
    var
    hwndOwner: HWnd;
    begin
    hwndOwner := GetWindow(Handle, GW_OWNER);
    ShowWindow(hwndOwner, SW_HIDE);
    ShowWindowAsync(hwndOwner, SW_HIDE);


    end;
     
  3. GURGAH
    Offline

    GURGAH DF Member

    Kernel hatası veriyor.
    hata mesajı
    Code:
    RegisterServiceProcess yordam giriş noktası, kernel32.dll dinamik bağlantı kitaplığında bulunamadı.
     
  4. maymay_x
    Offline

    maymay_x Guest

    RE:

    thanks alot
     
  5. JustMe2222222
    Offline

    JustMe2222222 Guest

    RE:

    it doesn't work for Windows XP and earlier
     
  6. AmineItachi
    Offline

    AmineItachi Guest

    RE:

    the from is not showed when i put the action in the buttons
     
  7. chimotoki
    Offline

    chimotoki DF Junior

    thank you
     

Share This Page

Laws
Our website, law, laws, copyright and aims to be respectful of individual rights. Our site, as defined in the law of 5651 serves as a provider of space. According to the law, contrary to the law of site management has no obligation to monitor content. Therefore, our site has adopted the principle of fit and remove. Works are subject to copyright laws and is shared in a manner that violated their legal rights, or professional associations, rights holders who, adsdelphi@gmail.com I can reach us at e-mail address. Complaints considered to be infringing on the examination of the content will be removed from our site.
Donate Help To Us and Be VIP
DONATIONS WITH PAYPAL CLICK TO BUTTON
6 MONTHS VIP - 20$; 1 YEAR VIP - 30$; 2 YEARS VIP - 50$; GOLD USER FOR LIFE VIP - 150$
Social Block