网站首页
编程语言
数据库
系统相关
其他分享
编程问答
Edit1
2023-06-26
Delphi字符串比较和大小写转换函数
首部functionSameText(constS1,S2:string):Boolean;$[SysUtils.pas功能返回两个字符串是否相等说明不区分大小写参考<NULL>例子CheckBox1.Checked:=SameText(Edit1.Text,Edit2.Text);━━━━━━━━━━━━━━━━━━━━━
2023-06-18
GetSelfnameDlg::OnButton1()
voidCGetSelfnameDlg::OnButton1(){ //HANDLEhThread; charszLibPath[_MAX_PATH]; //void*pLibRemote=0; //theaddress(intheremoteprocess)where //szLibPathwillbecopiedto; //DWORDhLibModule=0; //baseadressofloadedmodule
2023-05-13
用鼠标获取任意窗口的句柄, 并把它当作子窗体
unitUnit1;interfaceuses Windows,Messages,SysUtils,Variants,Classes,Graphics,Controls,Forms, Dialogs,StdCtrls,ExtCtrls;type TForm1=class(TForm) Panel1:TPanel; Edit1:TEdit; Button1:TButton; Button2:TButton;