The issues you mentioned do exist but they are just minor nitpicks - at the end of the day it doesn't matter at all if the dwExStyle parameter is at the first, fourth or at the last (my guess was that is first to allow for a quick textual search and replace in code to "upgrade" from "CreateWindow(..." to "CreateWindowEx(0, ..."). This is the sort of stuff that will never cause any sort of issue in practice.
Also there are no confusing random parameters in CreateWindow if you actually read the documentation. The menu parameter for a button isn't used for a menu but for an identifier that allows you to distinguish that button from other controls in the window.
Finally your winproc's switch can actually call dedicated functions. You can even write a couple of macros that do that for you so you do something like
static LRESULT HandlePaint(HWND hWnd, WPARAM wParam, LPARAM lParam);
static LRESULT HandleSize(HWND hWnd, WPARAM wParam, LPARAM lParam);
BEGIN_WINPROC(MyWinProc)
ON_WINPROC_MESSAGE(WM_PAINT, HandlePaint)
ON_WINPROC_MESSAGE(WM_SIZE, HandleSize)
END_WINPROC()
which is pretty much the same as what you'd do in other toolkits with setting up event handles such as gtk_signal_connect(GTK_OBJECT(widget), "expose_event", (GtkSignalFunc)handle_expose, NULL);
gtk_signal_connect(GTK_OBJECT(widget), "configure_event", (GtkSignalFunc)handle_configure, NULL);
(or your favorite toolkit's equivalent)