Pergunta de entrevista da empresa Cognet Corp

How would you create a window with a button using the Win32 API?

Resposta da entrevista

Sigiloso

22 de jun. de 2010

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().