active = true;
state = STATE_INPLACEACTIVE; frame.setCurrentDocument(this);
private int OnInPlaceActivate() {	active = true;	if (objIOleObject == null)		return COM.S_OK;	int[] ppvObject = new int[1];	if (objIOleObject.QueryInterface(COM.IIDIOleInPlaceObject, ppvObject) == COM.S_OK) {		objIOleInPlaceObject = new IOleInPlaceObject(ppvObject[0]);	}	return COM.S_OK;}