title: Producing buttons with Direct2D and DirectWrite (C++, DirectX)
body: <p>I've been looking around for awhile about how to produce buttons using Direct2D and DirectWrite with no luck. I'm comfortable with shapes, text and that jazz. However, it suddenly occurred to me I might be looking about it in the wrong way.</p>
  <p>Take the sentence:</p>
  <blockquote>
  <p>you draw your controls and content for your app using the Direct2D and
  DirectWrite APIs, handling all the input events directly.</p>
  </blockquote>
  <p>I'm now thinking this means that instead of being able to quickly produce a fully functional button as I would using XAML. I would draw the button, manually check the location of the mouse on click, whether it's within the button boundaries and then handle the event? Similar method for hovering without the click.</p>
  <p>Is this the kind of method required when using Direct2D and DirectWrite?</p>