Using CreateWindow() or CreateWindowEx(). You need to specify "Button" as the window class name.