Hi guys. I'm trying to create a small dialog-based app and I'm having problems with a progressbar control. I started by creating a new win32 gui project (dialog based) and then I edited the resource.rc file. The line that causes troubles is
CONTROL "", IDC_PROGRESSBAR, PROGRESS_CLASS, PBS_SMOOTH, 48, 180, 122, 8
If I remove it everything works ok but there is no progress bar in the dialog window. If I leave it as is it compiles without errors/warnings but when I run it a console window appears saying
Process returned -1 (0xFFFFFFFF) execution time : 0.016 s
I'm usingCode::Blocks 10.05 with the default compiler you get when you do a fresh install (sorry, I'm kinda noob, haven't figured out everything yet). Also, I use ResEdit (
http://www.resedit.net) to get an ideea of the stuff I need to put into the resource.rc file.
Thanks in advance for any input regarding this.