How to Create Dialog Without resource Dynamically
-
Hi Friends, Can any one please tell me how to create Dialog without resource dynamically. Thanks, Live and Let live
-
Hi Friends, Can any one please tell me how to create Dialog without resource dynamically. Thanks, Live and Let live
-
Thankyou for the answer. Is there any way in which I can create Modal Dialog Box Dynamically without using resource. Thanks, Salman Live and Let live
-
Thankyou for the answer. Is there any way in which I can create Modal Dialog Box Dynamically without using resource. Thanks, Salman Live and Let live
You can override the OnCreate member function, and create controls dynamically there. And handle the command BN_CLICKED of the Ok button and put there your own DDX ....etc. etc. I think this seems complicated and useless. What do you want dynamic dialog box for? Could you not create the dialog box in resource editor and only make the specific controls visible/invisible at runtime? Robert-Antonio
-
You can override the OnCreate member function, and create controls dynamically there. And handle the command BN_CLICKED of the Ok button and put there your own DDX ....etc. etc. I think this seems complicated and useless. What do you want dynamic dialog box for? Could you not create the dialog box in resource editor and only make the specific controls visible/invisible at runtime? Robert-Antonio
Thanks for your reply, But I have to create OCX of my Dialog so, I want to create DialogBOx without Resource. Any how I got answer and will post this artical on codeproject as soon as possible. But the real problem is even I am able to create DialogBox Dynamically. I am not able to attach the controls to it dynamically. Once I get this answer I will post it as soon as possible. Thanks, Salman Live and Let live