Hello. I ask a lot of questions.

I have a VB6 program within which I'd like to use one form as a default message box (for design reasons, the people I'm working with do not want to use the default windows MsgBox form. So, I designed a modal form with a yes and no button on which the label changes. Right now I have hidden text boxes all over the place that register which button the user pressed, so when a button is pressed a "Y" or "N" is put into this hidden box and if then logic determines what to do based upon the what is in the hidden text box (whew... that sentence was too long...). Right now it works, but it's sloppy. When the form is invoked, it has to load all of the forms in which text boxes will be placed, so the app is slower and bulkier than it should be. Should I be passing a function to the form? Is there a way to do this so I don't have to use all of these hidden text boxes and keep the form as an all purpose custom messagebox?

Thank you,

Ed