title: Programming in C With Windows API: How To Draw A Command Button
body: <p>Well, I am building a college project in C. GUI has not been taught yet but I want my program to be better, so I am learning Windows API.</p>
  
  <p>I am following this tutorial here: <a href="http://www.winprog.org/tutorial/start.html" rel="nofollow">http://www.winprog.org/tutorial/start.html</a> and it is quite good.
  It explains lot of things but I am not able to find one thing(even searched Google but everything is oriented towards C++ or C#):</p>
  
  <p>How do I draw a command button inside the drawn window(which I have learned) and how to accept events for it?</p>
  
  <p>Can you please answer or point me to a good page that explains how I can create a command button using ONLY Windows API and C. No C++ please.</p>
  
  <p>Thanks for your time! :)</p>