Hi,
I'm using wxwidgets with Dev-C++, so this may not apply to your specific implementation, but what I do is:
In the header file place:
#include <wx/gauge.h>
...
wxGauge *progressWxGauge;
...
Then after you declare the main frame or widget you would use something like:
...
progressWxGauge = new wxGauge(this, ID_PROGRESSWXGAUGE,100 ,wxPoint(6,239),wxSize(359,20) , wxGA_SMOOTH );
progressWxGauge->SetToolTip(wxT(_("Shows the progress of the application in the files.")));
progressWxGauge->SetRange(100);
progressWxGauge->SetValue(0);
Then you update the value with the SetValue method as necessary. Different libraries will have different syntax and paramaters depending on whether you are using wxWidgets, FLTK, GTK, or other GUI library.
DJK SKY WALKER <ic3...@ho...> wrote:
Hello I wanna know if someone can help me, I want to put a progressbar into a ListView, but I dont any Idea, I am using controls and trying to insert into another controls to please if someone know how do it, tell me ok.
Bytes!!!!
Alfred P. Reaud
|