anchor.diff:  {$IFDEF DelphiGeneric}
     ,Generics.Collections
   {$ENDIF}
  -{$IFDEF FPCGeneric}
  -  ,fgl
  -{$ENDIF}
     ,DuiConst
     ,Duilib;
   
  
positive.code:   begin
      Handled := True;  // δ
    end;
  {$IFNDEF FPC}
    if Assigned(FOnMessage) then
      FOnMessage(Msg, Handled);
    if Assigned(FOld) then
      FOld(Msg, Handled);
  {$ENDIF}
  end;
  
  
  
negative.code:           end;
        end;
        if FSkinKind = skResource then
          pRoot := builder.Create(FSkinXml.Text, 'xml', FDialogBuilderCallback, FPaintMgr)
        else
          pRoot := builder.CreateFromFile(FSkinXmlFile, FDialogBuilderCallback, FPaintMgr);
      finally
        builder.CppDestroy;
      end;
    end;
    if pRoot = nil then
    begin
      FPaintMgr.RemoveMessageFilter(FMessageFilterUI);
      raise Exception.Create('Դļʧ');
      Exit;
    end;
    FPaintMgr.AttachDialog(pRoot);
    FPaintMgr.AddNotifier(FNotifyUI);
    FIsUIInitd := True;
    if Assigned(FOnInitWindow) then
      FOnInitWindow(Self);
  