Thread: fun with desktop

  1. #1
    Registered User
    Join Date
    Sep 2008
    Posts
    76

    fun with desktop

    I seen many programs from which we can have fun with desktop ,for example ,
    a cat tears the start bar apart and runs from start bar to task bar and then disappears.Another good example is we can gun fire all over the screen and bullets makes
    holes on it.
    I know you got me here what I am talking about. And I do know this is done via c++ but don't know to how to?

    please enlighten me

    best regards,
    Chakra

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Any application can draw to the desktop, you just have to get the Desktop Window.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  3. #3
    Unregistered User Yarin's Avatar
    Join Date
    Jul 2007
    Posts
    2,158
    GetDC(HWND_DESKTOP), the problem is knowing when to repaint.

  4. #4
    Unregistered User Yarin's Avatar
    Join Date
    Jul 2007
    Posts
    2,158
    Here is a very crude bullet shooter I made several years ago:

  5. #5
    Registered User
    Join Date
    Dec 2007
    Posts
    930
    Anim.ico is missing.
    Using Windows 10 with Code Blocks and MingW.

  6. #6
    Registered User
    Join Date
    Sep 2008
    Posts
    76
    thanks for all great replies

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Extended Desktop Dimensions
    By Jaken Veina in forum Windows Programming
    Replies: 2
    Last Post: 01-16-2009, 09:15 AM
  2. Getting Icons from the Desktop
    By Mastadex in forum Windows Programming
    Replies: 6
    Last Post: 08-29-2007, 04:33 PM
  3. "Organizing" Your Desktop for Coding
    By skim in forum Windows Programming
    Replies: 2
    Last Post: 03-13-2006, 06:52 PM
  4. Showing Desktop SW_DEFAULT
    By Yuri in forum Windows Programming
    Replies: 6
    Last Post: 11-20-2005, 01:28 PM
  5. Drawing Text on the Desktop
    By dalek in forum Windows Programming
    Replies: 6
    Last Post: 04-11-2004, 05:02 AM