on a dialog I insert
ON INIT ( oDlg:bValid := { || !GetKeyState( VK_ESCAPE ) },; run ok
but I wish block also alt+f4 (K_ALT_F4)
GetKeyState accept more parameters ?
I make ON INIT ( oDlg:bValid := { || !GetKeyState( VK_ESCAPE ) .and. !GetKeyState( K_ALT_F4 ) },;
and it make error not found K_ALT_F4
GetKeyState with K_ALT_F4
- Silvio.Falconi
- Posts: 4956
- Joined: Thu Oct 18, 2012 7:17 pm
GetKeyState with K_ALT_F4
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC