How would you create a window with a button using the Win32 API?
Anonymous
Implement a message call-back function. Add a case for the WM_CREATE event. Inside this case add a code that create a new button (via CreateWindow passing the button styles flags/class). finally, create the window using CreateWindow().
Check out your Company Bowl for anonymous work chats.