Autor Beitrag
meiling
Hält's aus hier
Beiträge: 9

Win 2000 AS, Win XP Pro
D6 Pers
BeitragVerfasst: Mo 07.06.04 09:26 
Hallo,

wie kann ich eine art Rollover Effekt mit Grafiken in Delphi erstellen?

Ich benutze Borland Delphi 6.0 Personal.

Mit freundlichen Grüßen
Meiling
Udontknow
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2596

Win7
D2006 WIN32, .NET (C#)
BeitragVerfasst: Mo 07.06.04 10:05 
Hallo!

Du kannst bei deinen Steuerelementen die Windows-Botschaft WM_MouseEnter/WM_MouseLeave abfangen und dementsprechend reagieren.

Cu,
Udontknow
raziel
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 2453

Arch Linux
JS (WebStorm), C#, C++/CLI, C++ (VS2013)
BeitragVerfasst: Mo 07.06.04 15:20 
Hier hab ich schon Code zu diesem Thema in Zusammenhang mit TAnimate gepostet. Geht analog für (fast) alle Komponenten.

raziel

//edit: @udontknow: es geht glaub ich nur mit CM_MouseEnter und CM_MOUSELEAVE heißen... oder gibts die auch als WM_* Botschaften?

_________________
JSXGraph