c++ - MFC Dialog return vector -


i creating modal dialog box , dynamically creating textboxes based on user specified quantity. store values of these textboxes in vector

vector <cstring*> textboxtext; 

i want pass vector when dialog closes. tried passing pointer dialog , updating pointer in: void cradiodialog::onbnclickedok(). however, did not work. don't think can data exchange, there way done?

thanks,

you can it. ensure return actual cstring objects, not pointers!

vector <cstring> textboxtext; 

what in onbnclickedok ?


Comments

Popular posts from this blog

JQuery Autocomplete without using label, value, id -

c++ - Accessing inactive union member and undefined behavior? -

JAVA - what is the difference between void and boolean methods? -