Thread: restoring desktop after full screen use

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Mar 2011
    Posts
    596

    restoring desktop after full screen use

    I am using win32 applications for some full screen graphics. How do I restore
    the desktop, windows, taskbar, etc when exiting the app?

    Do I need to create a bitbap and bitblt the desktop screen into it, and then
    bitblt it back afterward? Or is there a way to instruct the system to just
    redraw everything?

    I am retrieving a device context for my screen with GetDC(NULL).

    *** edited ***

    I just realized I could open a full screen window, then draw over it with using
    a full screen context. Closing the full screen window should then invoke a desktop
    redraw. But the window would not cover the taskbar. So that's still a problem.
    (haven't tried this last thing yet)
    Last edited by megafiddle; 04-05-2011 at 10:56 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 16
    Last Post: 03-02-2011, 07:35 PM
  2. Opening in full screen
    By MaGaIn in forum C++ Programming
    Replies: 14
    Last Post: 08-21-2007, 11:12 AM
  3. Feedback: Functional Specification Wording
    By Ragsdale85 in forum C++ Programming
    Replies: 0
    Last Post: 01-18-2006, 04:56 PM
  4. Full screen programs?
    By Welshy in forum C++ Programming
    Replies: 10
    Last Post: 04-23-2005, 10:18 AM
  5. Full Screen
    By Rainer in forum C++ Programming
    Replies: 4
    Last Post: 08-08-2003, 05:56 AM