SPONSORS:






User Tag List

Results 1 to 7 of 7

Thread: Recovery system

  1. #1
    Junior Member
    Join Date
    Aug 1999
    Location
    Foster City, CA, USA
    Posts
    16
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Recovery system

    Hi everybody,
    Any ideas how to customize the default recovery system in order to close dialog boxes that are parented not to MainWin but to ChildWin would be greatly appreciated.
    The default recovery system only checks those dialogs that are parented to the MainWindow specified in the wMainWindow constant.
    Thanks in advance.

    Boris Zotov
    Ph.# (650)- 358-8331

  2. #2
    Guest

    Re: Recovery system

    Well, this wouldn't be changing the default recovery any, but you could
    use an appstate that is basedon none rather than basedon
    DefaultBaseState.

    HTH,
    cms

    --
    Cynthia M. Sadler
    Software Quality Assurance Engineer
    mailto:csadler@vignette.com
    Vignette Corporation http://www.vignette.com

  3. #3
    AJ
    AJ is offline
    Moderator AJ's Avatar
    Join Date
    Jun 1999
    Location
    San Jose, CA
    Posts
    1,691
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Recovery system


    Create a global variable
    and add a
    Done!


    ------------------
    AJ Alhait
    BetaSoft Inc.
    AJ Alhait
    BetaSoft Inc.

  4. #4
    Junior Member
    Join Date
    Aug 1999
    Location
    Foster City, CA, USA
    Posts
    16
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Recovery system

    Hi Cynthia,
    Thanks for the response, but the problem is that I want to use any
    recovery
    system
    that will allow me to close dialog boxes that are parented not to
    MainWin
    and I need some hints on this (using dll functions like
    GetForegroundWindow(),
    or
    something else).
    Thanks.
    BTW I forgot to mention that I use Windows NT 4.0 with SP4, and
    SilkTest 5.0.

  5. #5
    Junior Member
    Join Date
    Aug 1999
    Location
    Foster City, CA, USA
    Posts
    16
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Recovery system

    Thanks Amjad for response.
    But I don't want to create a global variable because in this case I don't have any flexibility that I have using the recovery system. In my app I have dozens dialog boxes that should be closed under different conditions.
    Boris

  6. #6
    AJ
    AJ is offline
    Moderator AJ's Avatar
    Join Date
    Jun 1999
    Location
    San Jose, CA
    Posts
    1,691
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Recovery system

    I understand:

    Here's what you do,

    In a given tree structure like this:

    Win1 Win7
    Win2 Win3 Win8 Win9
    Win4 Win5 Win6

    Notice that Win7 and Win1 have 2 different threads,

    Whenever you declare a window: You just add it to the
    lwClose list.

    Here's How: (assuming you just want to keep Win1 open
    That way you create your tree threads.

    Or you can create a fancy Dismiss ()
    which does the following:

    This will take a while to execute, but It's not order dependant.


    ------------------
    AJ Alhait
    BetaSoft Inc.
    AJ Alhait
    BetaSoft Inc.

  7. #7
    Junior Member
    Join Date
    Aug 1999
    Location
    Foster City, CA, USA
    Posts
    16
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Recovery system

    Sorry Amjad,
    It looks like I aswered you without careful reading your response.
    I think this is a great idea. I'll check it.
    Thanks,
    Boris


 

 

Posting Permissions

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

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 10:44 AM.

Copyright BetaSoft Inc.