Results 1 to 2 of 2

Thread: unwanted form focus changing

  1. #1
    thand
    Guest

    unwanted form focus changing

    Hi everyone,

    I am quite new to this messageboard but i have a question regarding the form interaction in visual basic 6.

    How can i prevent the user to switch between 2 opened forms because the form on top (focused) needs to be finished before going back to the main form? ( just like a confirmation msgbox )

    I heard something about Formname.hWnd but i have no idea how this works..

    does somebody to know how to get this done?

    thanks in advance,

    Matt

  2. #2
    Matthew Gates
    Guest
    Modal your form.


    Code:
    Form2.Show vbModal

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