随笔分类 - Delphi2010 IDE
摘要:引用单元 ;HttpAppprocedureTForm1.Button1Click(Sender:TObject);varStr:WideString;http:AnsiString;beginStr:=Memo1.Text;http:=HTTPEncode(UTF8Encode(Str));Memo2.Text:=http;end;procedureTForm1.Button2Click(Sender:TObject);varStr:WideString;http:AnsiString;beginStr:=Memo2.Text;http:=UTF8Decode(HTTPDecode(Str)
阅读全文
摘要:Application.ProcessMessages;LockWindowUpdate(Self.Handle); //锁住当前窗口 LockWindowUpdate(0)//解除锁定窗口LockWindowUpdate不但闪烁,而且有可能引起桌面闪烁。因为LockWindowUpdate并不忽略消息,只是暂时不响应,所以有可能积聚多个重画消息,并在使用LockWindowUpdate(0)之后依次响应。而使用SendMessage(ClientHandle,WM_SETREDRAW,0,0)之后,控件根本不接收重画消息,除非使用SendMessage(ClientHandle,WM_SET
阅读全文
摘要:delphi 2010 refactor / refactoring 重构不能使用。经过实验的确是DelphiDistiller上的设置贴心的过头的原因.一切的罪魁祸首就是“Don't load .NET scap”,把"Don't load .NET scap的钩去掉,再确定,强大的重构功能又回来了。
阅读全文
浙公网安备 33010602011771号