Results 1 to 6 of 6

Thread: Fixed focus on dialog

  1. #1

    Thread Starter
    Member
    Join Date
    Sep 2004
    Posts
    60

    Fixed focus on dialog

    Is there a way to force the user to close, or finish with a dialog before they can continue using the application? i.e. they cannot click anywhere else in the application. If they do the dialog stay put and nothing happens.

    Thank You

  2. #2
    Frenzied Member aewarnick's Avatar
    Join Date
    Dec 2002
    Posts
    1,037

    Re: Fixed focus on dialog

    Yes, I think it's called a model dialog.

  3. #3
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594

    Re: Fixed focus on dialog

    Modal dialog. You create one by calling DialogBox(Indirect||Param).
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  4. #4

    Thread Starter
    Member
    Join Date
    Sep 2004
    Posts
    60

    Re: Fixed focus on dialog

    yeah. i've changed the system modal value to true. now when i click on windows and dialogs in the background nothing happens, which is good. But I am still allowed to use the oringinal window from where the modal dialog came from. Can i disable this?

    Thank You

  5. #5
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594

    Re: Fixed focus on dialog

    System modal? You've done something wrong.

    I think you're not passing the parent window to DialogBox.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  6. #6

    Thread Starter
    Member
    Join Date
    Sep 2004
    Posts
    60

    Re: Fixed focus on dialog

    thanks for the advice, i've had to put this on the back burner but i'll let you know how i get along

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