title: How do you set up a menuing system (clickable buttons) in C++/directx?
body: <p>I'm lead to believe that function pointers are going to be needed to assign functions to the images that will be used as buttons somehow, but I can't find any decent resources on this. </p>
  
  <p>How can you set up a button menu in C++?  For example, having buttons for save, load, exit, new. </p>
  
  <p><strong>edit:</strong> I am not worried about portability for this example.  I'd rather do it myself than use a predefined framework.  It will only be run on Windows machines.</p>