I invoked SendMessage with EM_GetModify to check if the content of the current doc. has been changed or not. But when I run the app for the first time and press File|Newthe function return TRUE, telling that the doc has been modified. What's happening? I haven't typed anything on it.