"André Hentschel" <nerv at dawncrow.de> wrote: > LRESULT CALLBACK ChildWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) > { > +HKEY hKey; > +LPWSTR lpKeyPath; > switch (message) { > case WM_CREATE: Indentation is weird. And an empty line after variables won't hurt. -- Dmitry.