title: OpenGL: how to limit to an image component?
body: <p>I am busy climbing the learning curve for OpenGL, using Delphi (pascal);  I am using an excellent text, but every example in the book draws to the entire Form.  I want to place an image component on the from, and draw to that.  I tried assigning the Device context handle (GDC) to the handle of the image control's canvas, rather than to the  handle of the form, but that returns an error when ChoosePixelFormat is invoked.  </p>
  
  <p>So, if anyone knows how to get this to occur, I'd appreciate any suggestions.</p>
  
  <p>Thanks in advance for any help.</p>
  
  <p>jrDoner </p>