Autor Beitrag
retnyg
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2754

SNES, GB, GBA, CPC, A500, 486/66, P4/3.0HT: NintendOS, AmigaOS, DoS
Delphi 5, Delphi 7
BeitragVerfasst: Fr 17.12.04 14:54 
Hoi Leute,
ich will dass mein Programm in der Taskbar blinkt wenn ein bestimmtes Event passiert.
Ungefähr so wie ein Browserfenster, wenn der Download fertig ist u.ä.

wie macht man das ?


Moderiert von user profile iconTino: Topic aus Sonstiges verschoben am Fr 17.12.2004 um 23:46
Luckie
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Fr 17.12.04 14:55 
Heiko
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3169
Erhaltene Danke: 11



BeitragVerfasst: Fr 17.12.04 14:59 
Funktionieren die auch unter Delphi, denn eine Funktion für Delphi ist nich mit angegeben? Aber es müsste ja eigentlich gehen, da es bestimmt eine Win-API ist. Kann es leider momentan nicht ausprobieren, da ich hier auf dem Schulrechner kein Delphi hat.
retnyg Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2754

SNES, GB, GBA, CPC, A500, 486/66, P4/3.0HT: NintendOS, AmigaOS, DoS
Delphi 5, Delphi 7
BeitragVerfasst: Fr 17.12.04 15:02 
wart mal...
das Handle meines Programms heisst doch auch Handle
warum funktioniert denn dieser Aufruf nicht ? (nix passiert)
ausblenden Quelltext
1:
flashwindow(handle,true);					
AXMD
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 4006
Erhaltene Danke: 7

Windows 10 64 bit
C# (Visual Studio 2019 Express)
BeitragVerfasst: Fr 17.12.04 15:04 
retnyg hat folgendes geschrieben:
wart mal...
das Handle meines Programms heisst doch auch Handle
warum funktioniert denn dieser Aufruf nicht ? (nix passiert)
ausblenden Quelltext
1:
flashwindow(handle,true);					


self.Handle ist zumeist das Handle deiner Form - also nicht die des Programms ;)

AXMD
retnyg Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2754

SNES, GB, GBA, CPC, A500, 486/66, P4/3.0HT: NintendOS, AmigaOS, DoS
Delphi 5, Delphi 7
BeitragVerfasst: Fr 17.12.04 15:07 
und wie krieg ich das ProgrammHandle ?
GSE
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 740

Win 2k, Win XP Pro
D5 Prof, D6 Ent, D2k5 PE
BeitragVerfasst: Fr 17.12.04 15:17 
application.handle

mfg
GSE

_________________
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs
and the universe trying to produce bigger and better idiots. So far, the universe is winning. (Richard Cook)
retnyg Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2754

SNES, GB, GBA, CPC, A500, 486/66, P4/3.0HT: NintendOS, AmigaOS, DoS
Delphi 5, Delphi 7
BeitragVerfasst: Fr 17.12.04 15:22 
thx