Results 1 to 3 of 3

Thread: Undocumented API function?

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Sep 2000
    Posts
    230

    Question

    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
    Shawn Hull
    VB6, SP3 (Professional Edition)

  2. #2
    Guest
    I can't find that API, checked a few places. But how about you use VB to Modal a form?

    Code:
    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

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Sep 2000
    Posts
    230

    Clarification

    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
    Shawn Hull
    VB6, SP3 (Professional Edition)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width