lostfocus

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Boni

    #1

    lostfocus

    Dear all,
    If I have 2 windows,
    window 1 is active
    now select window 2.
    Is it guaranted that LostFocus of window 1 will happen earlier then gotfocus
    of window 2?
    I want to reach following:
    ActiveWindow as XXXWindow
    a)in LostFocus of windows 1 ActiveWindow=no thing
    b)in GotFocus of windows 2 ActiveWindow=Wi ndow 2
    (And since there are other windows, which are not controlled by my app, I
    need to know in any time if one of my windows is active, so only (b) is noth
    enougth)
    My approach seems to work in tests, but can I rely on this order of calls?
    Thanks in advance,
    Boni


Working...