drawing within Controls in C++
<p>How to draw shapes in Form or in Panel or other control in Visual Studion 2010? I learned draw in main window: just write code in WM_PAINT section using hdc = BeginPaint(hWnd, &amp;ps). But how to do it within form, what hWnd must i use?</p>
