Atm i am using DIB to handle and manipulate graphics/images in nearly realtime. For drawing and updating the image, i am using:
hdc = BeginPaint(hWnd, &ps);
StretchDIBits(hdc, 1, 1, 1024, 480, 0, 0, 1024, 480, buffer, &bmi, DIB_RGB_COLORS, SRCCOPY);
EndPaint(hWnd, &ps);
Features i would like to add: scrollbars/scrollarea, zoom in/out....
So whats the best way for a drawing program? Drawing image with StrechDIBIts directly to the window or scrollarea...
Or does it makes sense to use Win32 API picturebox for high flexibilty and even to have best performance/speed?