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


Delphi 2k6 Prof,C,C#,Delphi
BeitragVerfasst: So 30.04.06 19:07 
Hey,

vielleicht habt ihr es ja mal bemerkt aber zb bei Delphi 2006, wenn
man dort das Optionsfenster aufruft und dann neben das dieses auf die
Mainform klickt dann blinkt das Optionsfenster.
Wenn ich jetzt in meinem Programm ein Fenster mit showmodal erstelle,
dann blinkt dies nicht. Meine Frage, wie kann man es zum blinken bringen?
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: So 30.04.06 21:22 
eine Möglichkeit ist ganz einfach:
Um das Formular blinken zu lassen:
ausblenden Delphi-Quelltext
1:
FlashWindow(handle,TRUE);					

Um den Taskleisteneintrag blinken zu lassen:
ausblenden Delphi-Quelltext
1:
FlashWindow(Application.Handle, True);					

oder wenn dus ein wenig ausgefallender haben möchtest:
www.swissdelphicente.../showcode.php?id=937

_________________
In the beginning was the word.
And the word was content-type: text/plain.