- Code: Select all Expand view
#include "Fivewin.ch"
#define WM_SYSKEYDOWN 0x0104
Function TestCheck
LOCAL oDlg
LOCAL oChk, lChk, nChk := 0
LOCAL oChk2, lChk2, nChk2 := 0
DEFINE DIALOG oDlg
@ 0, 1 CHECKBOX oChk VAR lChk OF oDlg
@ 1.2, 1 CHECKBOX oChk2 VAR lChk2 OF oDlg
@ 2, 1 BUTTON "&Close" ACTION oDlg:End()
ACTIVATE DIALOG oDlg CENTER ;
ON INIT oChk:PostMsg( WM_SYSKEYDOWN, 0, 2 ** 29 )
return nil