SPONSORS:






User Tag List

Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Nov 2002
    Posts
    21
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    SetActive () doesn\'t work

    I wrote a test case that is switching between 2 different applications. I used SetActive() in order to set the window of the application active and on foreground but it doesn't work.
    When I run the testcase SilkTest will hang. I can see in the windows task bar that the corresponding application's button is flickering. When I click on the application's button the testcase execution continues...

    Any ideas or suggestions on this ?

    ------------------

  2. #2
    Senior Member
    Join Date
    Feb 2000
    Posts
    1,497
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: SetActive () doesn\'t work

    It's an old and familiar problem. To fix it, run regedit.exe from Window's Start/Run. Find and change the following value:

    My Computer\HKEY_CURRENT_USER\Control Panel\Desktop\"ForegroundLockTimeout"

    to 0 (zero). Then reboot.


    John


    ------------------


    [This message has been edited by John J. Miller (edited 02-11-2003).]

  3. #3
    Junior Member
    Join Date
    Nov 2002
    Posts
    21
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: SetActive () doesn\'t work

    Thanks John,

    You were right.

    ------------------

 

 

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 04:06 AM.

Copyright BetaSoft Inc.