Autor Beitrag
JRegier
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1268

Win XP Home, Prof, 2003 Server
D6 Enterprise
BeitragVerfasst: Mo 05.09.05 16:33 
Hi, ich möchte ein Doppelclick einfach OnClick realisieren, und zwar folgendermaßen:
Beim OnClik speichere ich die Zeit und beim zweiten berechne ich die Differenz!
Aber dazu müßte ich den eingestellten/benutzerdefinierten Doppelclick Interval auslesen,
die Differenz damit vergleichen und dementspechend reagieren!

Wie lese ich den benutzerdefinierten Doppelklick Interval aus?
rochus
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 416

Win XP Prof, Fedora Core 4, SuSE 7.0
D7 Ent, D2005 Pers
BeitragVerfasst: Mo 05.09.05 16:38 

_________________
Im Nachhinein ist man immer ein Schlauch!
"Dream as if you'll live forever, live as if you'll die today!" James Dean
JRegier Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1268

Win XP Home, Prof, 2003 Server
D6 Enterprise
BeitragVerfasst: Mo 05.09.05 16:45 
user profile iconrochus hat folgendes geschrieben:
msdn.microsoft.com/l...tdoubleclicktime.asp

Viel Spaß!


Mit welcher Function lese ich dann am besten die verstrichene Zeit in Millisecunden aus?

In Now kann ich keine Millisec auslesen, oder?
Ich dachte GetMillisecond, aber muß das sein?
rochus
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 416

Win XP Prof, Fedora Core 4, SuSE 7.0
D7 Ent, D2005 Pers
BeitragVerfasst: Mo 05.09.05 16:49 

_________________
Im Nachhinein ist man immer ein Schlauch!
"Dream as if you'll live forever, live as if you'll die today!" James Dean
alias5000
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2145

WinXP Prof SP2, Ubuntu 9.04
C/C++(Code::Blocks, VS.NET),A51(Keil),Object Pascal(D2005PE, Turbo Delphi Explorer) C# (VS 2008 Express)
BeitragVerfasst: Mo 05.09.05 17:01 
Und wie wärs mit GetTickCount?

_________________
Programmers never die, they just GOSUB without RETURN
JRegier Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1268

Win XP Home, Prof, 2003 Server
D6 Enterprise
BeitragVerfasst: Mo 05.09.05 17:42 
user profile iconalias5000 hat folgendes geschrieben:
Und wie wärs mit GetTickCount?


MillisecSpan(ANow, Then : TDateTime) läßt sich Differenc in Millisecunden bestimmen!