Autor Beitrag
kampfkoloss23
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 96



BeitragVerfasst: So 26.01.03 17:54 
wie stelle ich on idle aus??
Es muss erst ausgestellt sein, und dann punktgenau, d.h sofort
wieder anfangen.Wie mach ich dass?
Wenn ich done:=false nicht setzte ist es glaub ich unregelmäßig und
es ist schwer wieder auf die msec genau anfzufangen

(im Menü, soll der Prozessor geschont werden)
UGrohne
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Veteran
Beiträge: 5502
Erhaltene Danke: 220

Windows 8 , Server 2012
D7 Pro, VS.NET 2012 (C#)
BeitragVerfasst: So 26.01.03 19:05 
Du erstellst eine unabhängige Variable und wenn er ins Menü geht, setzt die auf True, beim Rausgehen wirder auf False. Und in OnIdle führste deinen Code abhängig von dieser Variablen aus.

OnIdel kannste nicht deaktivieren, dieses Ereignis wieder immer generiert, wenn das Programm nichts zu tun hat.

Gruß
kampfkoloss23 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 96



BeitragVerfasst: So 26.01.03 21:32 
hab ich so gemacht,

es beunruhig mich dann aber, dass der Frameanzeiger dann bei 20000
rummacht

Belastet das den Prozessor nicht?
UGrohne
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Veteran
Beiträge: 5502
Erhaltene Danke: 220

Windows 8 , Server 2012
D7 Pro, VS.NET 2012 (C#)
BeitragVerfasst: So 26.01.03 22:09 
Es kommt immer darauf an, was Du machst und vor allem, wie Du es machst.
Soll das ein Spiel sein?
kampfkoloss23 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 96



BeitragVerfasst: So 26.01.03 23:56 
ja, mit einem Hauptmenu, wo nicht gezeichnet werden soll