Click to See Complete Forum and Search --> : Undocumented API function?
a2427
Oct 14th, 2000, 10:03 PM
I was told by a vendor that there is an undocumented API call that breaks the modal restriction of a form. My problem is that a vendor program allows a call to a user defined dll, but the calling program requires that all forms displayed in the environment be modal. I want to be able to switch back and forth between multiple forms. Anyone heard of this mysterious API function?
Shawn
I can't find that API, checked a few places. But how about you use VB to Modal a form?
Private Sub Command1_Click()
'Form1's Command Button
Form2.Show vbModal
End Sub
Private Sub Command1_Click()
'Form2's Command Button
Form1.Show vbModal
End Sub
a2427
Oct 14th, 2000, 11:36 PM
Matthew,
The vendor has designed the software (MS Access mde) such that it provides a "generic" button that when pressed can call a user defined dll. The problem is that he requires all forms in the dll be modal and I don't want my forms to be modal. If they are not modal, the calling program will raise an error. I found, or maybe it was you who found it for me, an API call that will hide the underlying modal form, but this does not solve my problem. Once my dll is called, I want the user to be able to launch and switch between multiple forms. The vendor assures me there is a way to crack and says he has the API, but has not sent it yet.
Is he pulling my leg?
Shawn
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.