I also feel raw code style programming is probably best for me as well instead of using resource editors that are provided in VStudio.
Absolutely! Using the Windows Dialog Engine to learn Windows programming is IMNSHO a big mistake.
Recently I posted some beginning Api Sdk style code plus explanations here...
http://www.jose.it-berater.org/smfforum/index.php?topic=3389.0
Program Example 37 starts GUI stuff. Before that is general C/C++ stuff.
You know, with Dev-CPP and all other development suites, you can't just code Win32 Api Sdk code in a blank code window and hit the compile button. You have to go through the various setup screens accessable from the file menu >> Create New Project option. When you choose the option to create a GUI program then the compiler options will be set correctly for you. I'm wondering if that is/was your problem. Anyway, glad its working for you now.