The best way for get the active window or dialog before activate any another dialog is with the function getActiveWindow() or getWndDefault()
How is the difference really?
Antonio Linares wrote:GetActiveWindow() --> hWnd
It is a Windows API function that returns the Windows handle to the active window associated with the thread that calls the function.
GetWndDefault() --> oWnd
It is a FWH function that returns the currently managed window or dialog object (FWH object).
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 78 guests