Old Window Focus ?
Posted: Mon Sep 28, 2020 8:11 pm
hi,
when open new Windows i like it "on-Top" using TOPMOST
now when close this Windows last Window get Focus, OK
but when have
and open 3th Window using TOPMOST, than 2nd Window is behind ( ) 1st Window ... hm
when close 3th Window than 2nd Windows get Focus and i can close it too.
but now 1st Window does not become Focus
so i ask for "Old Window Focus"
i want to add
as 1st line and last line in each new open Window
how to do it with harbour / HMG
when open new Windows i like it "on-Top" using TOPMOST
now when close this Windows last Window get Focus, OK
but when have
Code: Select all
Main Window
1st Window TOPMOST
2nd Window TOPMOST
3nd Window TOPMOST
when close 3th Window than 2nd Windows get Focus and i can close it too.
but now 1st Window does not become Focus
so i ask for "Old Window Focus"
i want to add
Code: Select all
LOCAL OldFocus := GetLastFocus()
&OldFocus.SetFocus()
RETURN
how to do it with harbour / HMG