Console application Displaying wxProgressDialog... Topic is solved

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
GopiR
Earned a small fee
Earned a small fee
Posts: 15
Joined: Sat Jan 31, 2009 1:49 pm

Console application Displaying wxProgressDialog...

Post by GopiR »

Hello Experts,

Is it possible to display a wxProgressDialog from an console application?

If yes can any one suggest an example code?

Thanks & Regards
Jorg
Moderator
Moderator
Posts: 3971
Joined: Fri Aug 27, 2004 9:38 pm
Location: Delft, Netherlands
Contact:

Post by Jorg »

Hi,

You can create a GUI application with wxApp, hide but create the main form so it seems that you have a console app, and then pop up a wxProgressDialog.

But honestly when you make a console app, make some kind of text based progress bar, because it is a rediculous amount of overhead to create a non GUI app and only show a wxProgressDialog, not to mention a lot of people do not expect to see (or want to see) a window from a console app.

- Jorgen
Forensic Software Engineer
Netherlands Forensic Insitute
http://english.forensischinstituut.nl/
-------------------------------------
Jorg's WasteBucket
http://www.xs4all.nl/~jorgb/wb
Post Reply