Hi,
Is it possible to intercept the window transition event to the background/foreground ?
Window transition event
- Antonio Linares
- Site Admin
- Posts: 42529
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 31 times
- Been thanked: 77 times
- Contact:
Re: Window transition event
Dear Yuri,
There are some examples in these forums showing how to inherit and modify Method HandleEvent()
https://fivetechsupport.com/forums/view ... 5e#p258349
You may need to inherit a Class TMyWindow from TWindow and implement support for WM_ACTIVATEUse the WM_ACTIVATE message in the application's main window procedure. This message indicates window activation changes (activating/deactivating).
Combine with the LOWORD of wParam to check the activation state (e.g., WA_INACTIVE for background).
There are some examples in these forums showing how to inherit and modify Method HandleEvent()
https://fivetechsupport.com/forums/view ... 5e#p258349