Autor Beitrag
Michael
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 22



BeitragVerfasst: Mi 30.04.03 09:32 
Hallo

Ich habe ein Programm, welches ich in einem Batch laufen lassen will, aber es kann sich nicht selbst beenden.

Ich will nun ein Programm schreiben, weches auf den Schließen Button klickt. Hierfür benötige ich aber die TOP und LEFT Koordinaten des Fensters.

An das HWND Handle des Fensters komme ich schon über die Caption des Fensters, aber wie komme ich an die Koordinaten ?!?!

Wäre für jede Hilfe dankbar!

mfg,
Michael Schmuck
Motzi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2931

XP Prof, Vista Business
D6, D2k5-D2k7 je Prof
BeitragVerfasst: Mi 30.04.03 09:45 
Du brauchst keine Koordinaten.. einfach per SendMessage oder PostMessage eine WM_CLOSE Message an das Prog schicken..!

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



BeitragVerfasst: Mi 30.04.03 09:46 
Hallo

Hab ich schon so versucht, aber dann wird nur das Fenster minimiert, aber nicht geschlossen

mfg,
Michael Schmuck
Motzi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2931

XP Prof, Vista Business
D6, D2k5-D2k7 je Prof
BeitragVerfasst: Mi 30.04.03 10:25 
Dann probier mal WM_QUIT...

_________________
gringo pussy cats - eef i see you i will pull your tail out by eets roots!