title: What are all of the bits for in Winapi button states?
body: <p>The MSDN documentation says that the elements of button state are focus, push, and check.<br>
  Looking into the header we see:</p>
  
  <pre><code>BST_CHECKED        0x0001
  BST_INDETERMINATE  0x0002
  BST_PUSHED         0x0004
  BST_FOCUS          0x0008
  </code></pre>
  
  <p>but when I push a button in my application Button_GetState yields the integer value 108 (then 104 if I drag outside of the button). So here we have the first four bits accounted for, but what about after that? What about 16,32, 64? My button is not one that uses check state as far as I can tell, yet I still see these being used.</p>
  
  <p>In short, what are the other individual bits doing?</p>