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

📄 unitventanas.pas

📁 远程控制辕马
💻 PAS
字号:
//Unit q contiene las funciones para listar ventanas y sus
//distintas opciones

unit UnitVentanas;

interface

uses
Windows,
TLHelp32,
SysUtils;

function dameventanas():String;
procedure MinimizarTodasLasVentanas;


implementation

var
c: string;

function dameventanas():String;
  function EnumWindowProc(Hwnd: HWND; i: integer): boolean; stdcall;
  var
    a : string;
  begin
    if (Hwnd=0) then
    begin
      result := false;
    end
    else
    begin
      SetLength(a, 255);
      SetLength(a, GetWindowText(Hwnd, PChar(a), Length(a)));
      if IsWindowVisible(Hwnd) and (a<>'')  then
      begin
        c:=c+ IntToStr(Hwnd) + '

⌨️ 快捷键说明

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