Saturday, December 12, 2009

make taskbar vanish using C

Now am going to tell u my favourite trick.This trick hides the taskbar .It doesnot appear even u hover mouse over that place.
When i was playing games in my degree college i used to play this trick to protect me from my mentors.


#include
#include
int main()
{
    HWND d;
       while(1)
    {
            sleep(20);
            d=FindWindow("Shell_TrayWnd","");//It passes  taskbar to d.
            ShowWindow(d,SW_HIDE);//Removes the window
}

}
TO restore the taskbar  replace SW_HIDE  with SW_RESTORE (restores the window)

0 comments:

 

Computers made easy 4all Copyright © 2009 Gadget Blog is Designed by Ipietoon Sponsored by Online Business Journal