AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

Name mit Endung

Ein Thema von Masterof · begonnen am 12. Jun 2004 · letzter Beitrag vom 12. Jun 2004
 
Masterof

Registriert seit: 12. Feb 2004
Ort: Bad Elster
142 Beiträge
 
Delphi 7 Enterprise
 
#3

Re: Name mit Endung

  Alt 12. Jun 2004, 10:01
Hallo!! Also hier ist mein Quelltext zum auslesen des Namens.

Delphi-Quellcode:
function EnumWindowsProc(Wnd: HWND; LParam: LPARAM):BOOL; stdcall;
var PID : LongWord;
    Title : array[0..255] of char;
begin
 result := true;
 If (IsWindowVisible(Wnd) or IsIconic(wnd)) and
    ((GetWindowLong(Wnd, GWL_HWNDPARENT) = 0) or
    (GetWindowLong(Wnd, GWL_HWNDPARENT) = GetDesktopWindow)) and
    (GetWindowLong(Wnd, GWL_EXSTYLE) and WS_EX_TOOLWINDOW = 0) then
     begin
      GetWindowThreadProcessID(Wnd, @PID);
      GetWindowText(Wnd, Title, 256);
      with frmmain.lvprocess.Items.Add do
      begin
       Caption:= Title;
       Subitems.Add(IntToStr(PID));
      end;
    end;
end;
Master
  Mit Zitat antworten Zitat
 


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 03:27 Uhr.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz