Visual Studio 2008 Enum Bit Flags Visualization

I’ve recently discovered a new nice feature in the natice debugger of Visual Studio 2008: the visualization of bit flags. Let’s take this enumeration for example. Notice that each constant is basically a bit flag.

If we used those bitfields like this:

The debugger shows them like this: However, if the constants are…