Autor Beitrag
CodeRed
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 45

Win 2000
D7 Pers
BeitragVerfasst: Sa 26.03.05 15:27 
hi!
ich möchte mit einem programm eine fremde checkbox aktivieren.
die checkbox hab ich über WinSpy gefunden und aktivieren tu ich sie so:

ausblenden Delphi-Quelltext
1:
SendMessage(wnd,BM_SETCHECK,BST_CHECKED,0);					


nun wir die checkbox auch optisch aktiviert, doch ist diese nicht wirklich aktiviert.
dh wenn ich von hand nochmal drauf klicke bleibt die checkbox aktiviert (und ist jetzt erst wirklich aktiviert).

ich hoffe ihr könnt mir weiter helfen!!
Thx

Moderiert von user profile iconTino: Delphi-Tags hinzugefügt.
wulfskin
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1349
Erhaltene Danke: 1

Win XP
D5 Pers (SSL), D2005 Pro, C, C#
BeitragVerfasst: Sa 26.03.05 15:55 
  SendMessage(CheckBox1.Handle, BM_CLICK, 0, 0); ;)

_________________
Manche antworten um ihren Beitragszähler zu erhöhen, andere um zu Helfen.