First off, Dev-C++ is no longer under development and seems to have been abandoned with lots of bugs. Second, IF you want to stick with windows API, check out my little Dialog Template project.
I just added project files for Visual Studio 2008, Code::Blocks & Dev-C++ just to get you moving. Let me know if you need anything else, as I’d be happy to help you along.