Home > Tips & Tricks > Got Phantom Menus? RefreshScreen is here to help

Got Phantom Menus? RefreshScreen is here to help

November 8th, 2011 Oren Leave a comment Go to comments

The fact that my (full updated)  video card will occasionally blue screen my screen after playing Flash videos aside, my next biggest video card related gripe is floating phantom menus:

Floating Phantom Menus

You know the ones – those ones that stick around, in front of everything, after you click on a random menu item. They only seem to go away when you restart your system or force a screen resolution change. Since that involves multiple clicks and a dialog I’ve written a tiny, one line, screen refresher. Run it to exorcise those menus!

Note: Unfortunately this doesn’t solve the actual problem that causes this, so you’ll probably get more phantoms afterwards.

Grab the EXE

Grab the Project (VS2010, C++)

P.S. For reference, all the code does is call ChangeDisplaySettings with (NULL, 0) in order to refresh the screen settings from the registry.

Categories: Tips & Tricks Tags:
  1. November 27th, 2013 at 20:34 | #1

    I’m amazed, I have to admit. Seldom do I encounter a blog that’s equally educative and amusing, and let me tell you, you’ve hit the nail on the
    head. The problem is something not enough folks are speaking intelligently about.
    I’m very happy I stumbled across this in my search for something regarding this.

  2. November 28th, 2013 at 00:50 | #2

    Nice response in return of this matter with firm arguments and
    describing the whole thing on the topic of that.

  1. No trackbacks yet.