I'm using VS 2008, C# and what you are asking seems trivial to do in 2008. Sorry but I skipped VS 2005.
I am using one menu resource. I want to create this menu as default menu for my window class. So i am specifying it as my lpszMenuname parameter of WNDCLASS strcture. But it is causing the RegisterClass()
failure. So it is not creating window. I am testing this in the default Helloworld application created by Visual studio 2005. I am using 6.0 professiobnal sdk