Autor Beitrag
Shadow110
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 64



BeitragVerfasst: Do 15.04.04 14:31 
Hallo.

Ich wurde gerne ein Tool schreiben, mit dem ich einerseit mit anzeigen lassen kann (über so eine Art Mauszeiger), welche ID ein bestimmter Button hat oder auch eine Leiste (sowas in der Art gab es mal im Inet, ich weis den Namen aber nicht). Und dann auch die Möglichkeit bietet, diesen auszublenden.

Hat da eventuell jemand einen Tip, welche Sachen ich mir da mal ansehen sollte. Ich stehe momentan so bischen auf dem Schlauch wo ich ansetzen könnte...:-(

Danke euch
Alex
obbschtkuche
Gast
Erhaltene Danke: 1



BeitragVerfasst: Do 15.04.04 14:59 
Ich würde sagen da kommt WindowFromPoint und ShowWindow in Frage.
Shadow110 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 64



BeitragVerfasst: Do 15.04.04 16:18 
Titel: Super!
Hi.

Danke für die Info.. das war es..

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
procedure TForm1.Timer1Timer(Sender: TObject);
var
pos:TPoint;
win:hwnd;
begin
 getcursorpos(pos);
 win := Windowfrompoint(a);
 edit1.Text := inttostr(win);

end;



Und ausblenden

ausblenden Delphi-Quelltext
1:
closewindow(win);					


Ach ja.. Hab auch gerade einen recht interessanten Beitrag dazu gefunden:
www.delphi-forum.de/...amp;highlight=winspy




Grüße
Alex
Motzi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2931

XP Prof, Vista Business
D6, D2k5-D2k7 je Prof
BeitragVerfasst: Do 15.04.04 20:56 
Alternativ dazu kannst du auch meinen X-Spy verwenden: www.delphi-forum.de/viewtopic.php?t=2558

_________________
gringo pussy cats - eef i see you i will pull your tail out by eets roots!
Shadow110 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 64



BeitragVerfasst: Do 15.04.04 21:57 
Hi.

Das ist ja ein geniales Tool... Die Buttons gefallen mir irgendwie voll gut! Wie haste die denn gemacht? Selbst gemalt? *G


Ich hätte mal noch ne Frage...

mit CloseWindow kann ich ja ein Window Handle schliessen..

Gibt es eventuell auch ne Möglichkeit, von einem Menü nur einen Eintrag zu entfernen? Mit einem Resource Hack kann ich das ja in der Exe machen. Entfernen oder grau machen. Geht sowas auch online im Speicher? Oder ist das unmöglich?


Grüße
Alex