question of windows...

while reading some code from nehe.gamedev’s tutorials i noticed that they create,destroy,resize…manipulate windows using the windows.h functions and handlers. Isnt GLUT functions easier?Or does the windows.h “api” provide some extra functions and support?

the windows.h “api” has been around before glut so that’s why it exists. glut IS easier [in my opinion] but, as always, boils down to whatever the developer wants to use. the trade-off in windows.h [or any other api like gtk, qt, fltk, amulet, xlib, etc], is that you can edit the window decorations [minimize, maximize, close buttons].

:regards: