I have been looking at the VS2008 SDK. I have created a basic editor from (using the wizard) this has a simple RTF editor. I need to detect when the editor becomes active and inavtive. ie when the user ctrl- tab's to and from it. This seems a simple thing to be able to detect, but I can't find the appropriate event. Thanks for any info James