Jaime
October 14th, 1999, 01:19 AM
Hi... I want the main form of my VB application to be a modal dialog box of other window. How can I do it?
Thanks
Jaime
Thanks
Jaime
|
Click to See Complete Forum and Search --> : How to show a form as a Modal dialog box Jaime October 14th, 1999, 01:19 AM Hi... I want the main form of my VB application to be a modal dialog box of other window. How can I do it? Thanks Jaime Lothar Haensler October 14th, 1999, 01:23 AM yourdialog.Show vbModal Jaime October 14th, 1999, 09:31 AM Hi.. And I have to place it in Form_Load() method?. How can I specify which window is the parent? I want to make the Main form as Modal... that's my problem... the goal is to pass in the command line the Handle of the window that has executed the VB application, so the Form will be shown as a dialog box of that application. Tha VB application is intended to be called from other program. Thanks Jaime Lothar Haensler October 14th, 1999, 10:22 AM Ok, we're getting closer. You want to make your main form a modal dialog of another app? That cannot be done IMHO. At least, there is no easy way that I know of. You'd have to create an ActiveXDLL. All "modal" forms in VB are Application-modal. codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |