Luiz wrote: > active : BOOLEAN; > message : MSG; > hWindow,msg1 : hwnd; > > this should work > > Luiz Thumbs up Luiz, thank you. The second usage with msg1 was a typo on my part. Understandable that this was changed in the compiler. ;) active : BOOLEAN; mssg : MSG; hWindow : hwnd; Mike