User forums > Using Code::Blocks
Problems using a progress bar control
(1/1)
Reist:
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
--- Code: ---CONTROL "", IDC_PROGRESSBAR, PROGRESS_CLASS, PBS_SMOOTH, 48, 180, 122, 8
--- End code ---
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
--- Code: ---Process returned -1 (0xFFFFFFFF) execution time : 0.016 s
--- End code ---
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.
Jenna:
Sorry to say, but this question is not related to C::B itself.
C::B is "just" an IDE, that can work with many compilers (one is shipped with it on windows for the users convenience).
Your question is violating our forum rules therefore, because this forum/website is dedictaed to C::B related questions only.
Topic locked !
Navigation
[0] Message Index
Go to full version