Not destroying the window in VC++
I have got my code running, well enough for now, still a couple of bugs to sort out I am sure but I haven't found them yet, the only annoying thing is when I press the ok button it runs the code fine but it destroys the window afterwards, and I am putting out some important information to it.
I am creating an MFC application and the vent is BN_CLICKED and the function is called onOK(); I guess that the onOK(); constructor is calling destroy window but could anyone let me know how to stop it doing that.
Cheers.
Ben.