⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 commandsfrm.pas

📁 UPXShell 压缩解压缩Windows下的exe和dll文件, 其原理基于加壳原理, UPX也是一个Windows下的可执行文件加壳工具
💻 PAS
字号:
unit CommandsFrm;interfaceuses  Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms,  Dialogs, StdCtrls;type  TCommandsForm = class(TForm)    mmoCommands: TMemo;    procedure FormCreate(Sender: TObject);  private    { Private declarations }  public    { Public declarations }  end;var  CommandsForm: TCommandsForm;implementation{$R *.dfm}procedure TCommandsForm.FormCreate(Sender: TObject);var  Save: longint;begin  //Removes the header from the form  if BorderStyle = bsNone then  begin    Exit;  end;  Save := GetWindowLong(Handle, GWL_STYLE);  if (Save and WS_CAPTION) = WS_CAPTION then  begin    case BorderStyle of      bsSingle, bsSizeable:      begin        SetWindowLong(Handle, GWL_STYLE,          Save and ( not WS_CAPTION) or WS_BORDER);      end;      bsDialog:      begin        SetWindowLong(Handle, GWL_STYLE,          Save and ( not WS_CAPTION) or DS_MODALFRAME or WS_DLGFRAME);      end;    end;    Height := Height - GetSystemMetrics(SM_CYCAPTION);    Refresh;  end;end;end.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -