I was going through some VC++ code in a large code-base and came across this:
if (nState & TOOL_TIPS_VISIBLE) nState &= ~TOOL_TIPS_VISI
x &= y is the same as x = x & y x |= y is the same as x = x | y
x &= y
x = x & y
x |= y
x = x | y