Repeat Information in a dlg 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
cutiepi314
Experienced Solver
Experienced Solver
Posts: 53
Joined: Wed Jun 10, 2015 7:25 pm

Repeat Information in a dlg

Post by cutiepi314 »

Ok so I have a question I am creating a code that has a log-in window, then the user is able to use the program until they click the start button again. Is there a way to keep the information in the log-in dlg or pull it up when the user presses the start button again. So far I have tried having a temp file store the information and then destroy it before the program closed, but I did not like that option very much.
User avatar
doublemax
Moderator
Moderator
Posts: 19160
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: Repeat Information in a dlg

Post by doublemax »

You either have to store the information somewhere in the mainprogram and pass it again when creating the dialog. Or the dialog itself must save the information somewhere, e.g. using wxConfig.
Use the source, Luke!
Post Reply