Chris: > Thanks a bunch. Any ideas about the Unregistering error? Put a trace in the WM_DESTROY handler. You were reentering by calling DestroyWindow within the WM_DESTROY handler. Neil