Why do Windows GUI programs have so much code in them?
Don’t forget that Windows GUI programs actually do a lot. Typically, you will have movable, sizable windows with full mouse support, icons, cursors, portability between wildly different systems… My tutorial illustrates that if you want to do simple programs, you need not have hundreds of lines of code – but those hundreds of lines of code are still useful, since they offer you so much flexibility.