Thema: Delphi if GetWindowLong ...

Einzelnen Beitrag anzeigen

Benutzerbild von Neutral General
Neutral General

Registriert seit: 16. Jan 2004
Ort: Bendorf
5.219 Beiträge
 
Delphi 10.2 Tokyo Professional
 
#3

Re: if GetWindowLong ...

  Alt 2. Jan 2007, 20:09
ja hab ich auch schon versucht...

Delphi-Quellcode:
if (IsWindow(i)) and
   (GetWindowLong(i,GWL_EXSTYLE) and WS_EX_APPWINDOW = WS_EX_APPWINDOW) then
   begin
     mIcon.Handle := SendMessage(i,WM_GETICON,WPARAM(TRUE),0);
     if mIcon.Handle <> 0 then
     begin
      ..... //hierhin komme ich nie! ohne GetWindowLong schon...
Und wenn ein Fenster WS_EX_APPWINDOW ist hats doch normal auch ein Icon oder? -.-
Michael
"Programmers talk about software development on weekends, vacations, and over meals not because they lack imagination,
but because their imagination reveals worlds that others cannot see."
  Mit Zitat antworten Zitat