Hi folks, I'd like to share a solution to a problem that has been driving me nuts for a while. I changed a Textfield control to a RichEdit and it would not give me the _Change event. I dug in the GUI.xs and could find nothing wrong. I finally tracked it down to the eventmask being zero, which means that the notification messages don't come to the GUI message loop in the first place. The workaround is to do
$MainWindow->myRichEditField->SendMessage (0x445, 0, 1); that sends EM_SETEVENTMASK (0x445) to the control with the ENM_CHANGE bit set. Hope that spares somebody else a headache. Have fun Harald