Hi there .... I'm writing a little NotePad-Clone and I would like to know if the following will work to determine if the RichEdit Window was changed (typed text) The user presses Alt-F4: sub Window_Terminate { if($Editor->Change()) { displays a little MsgBox.... Save it or Not..... return -1; } else { return -1; } } with friendly regards.... Jens Luedicke <[EMAIL PROTECTED]> //PGP Public Keys: [EMAIL PROTECTED] <autoresponder>