Quick one about API:
There is advice in MS Visual Studio 2008 Documentation:
"To enable the user to draw filled shapes, include the following popup menu in your application.
POPUP "Filled &Shapes"
MENUITEM "&Ellipse", IDM_ELLIPSE
MENUITEM "&Rectangle", IDM_RECTANGLE
MENUITEM "R&oundRect", IDM_ROUNDRECT
Hm... where? In WinMain or between functions? Or maybe inside of LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM); function?