Windows Controls
An empty window isn't much to look at. It doesn't do a lot, either. Any application is going to need a few widgets (or "controls") to allow the user to do something. Let's create a simple application that lets us type our name in a textbox, then click a button to scramble the name and display it in a pop-up dialog box. Here's basically what we want:
So, for this simple application, we're going to allow the user to enter his name, then have him click the "Scramble" button to scramble the letters in his name and display the result in a pop-up window.