1,183
社区成员




var
MyWordOLE:TOleContainer;
IOPO:IOleInPlaceObject;
begin
if MyWordOLE.State in [osUIActive] then
begin
MyWordOLE.OleObjectInterface.QueryInterface(IOleInPlaceObject,IOPO);
IOPO.UIDeactivate;
IOPO :=nil;
end;