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

javascript - backbone.js Collection.add() doesn't `construct` (`initialize`) an object -

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

php - Get uncommon values from two or more arrays -