i have same problem visit Windows API Tutorial

that's a good Win 32 tutorial