Autor Beitrag
Rool
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 211



BeitragVerfasst: Di 27.05.03 18:49 
Titel: Button subclassen
Kann man sich nicht in die Buttonhandler Prozedur einklinken? => subclassen und nachricht dann nicht weitergeben, wenn es Click ist!

_________________
MFG Rool
Pascal
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 155

Win 98, Win XP
Delphi 2005, Delphi 5
BeitragVerfasst: Di 10.06.03 19:35 
matze Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: So 15.06.03 13:16 
der code ist super. da kann ich zwar nicht genau den startbutton selber nachahmehn aber den kann man ja screenshotten !!!

danke!

_________________
In the beginning was the word.
And the word was content-type: text/plain.
bigTimo
Hält's aus hier
Beiträge: 5



BeitragVerfasst: So 15.05.05 00:08 
hey matze,
das musst du mit nem hook lösen. Der befehl zum setzen sollte so aussehen: setwindowshookex(WH_mouse,...,...,getwindowthreadprocessid(findwindowex(findwindow('Shell_TrayWnd',nil),0,'Button',nil);

bei deiner onhook prozedur muss deine form angezeigt- und die onclick message nicht an den startbutton weitergeleitet werden.

cya