Home > Uncategorized > 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 (fully 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: Uncategorized Tags:
  1. No comments yet.
  1. No trackbacks yet.