Good job. I recently bought MFC programming Unleashed, and you resume the first chapters of the book rather nicely.
Although I must agree with the last comment about the long search time for the HUGE switch. In big programs, it would take a long time to do the whole linear pattern over and over. There are faster ways of doing it, but the explanation is there, so thats what counts right? :)
Anyways, keep up the good work. Very informative and a good start for all us newbies.