Autor Beitrag
kreuzkrieter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 47



BeitragVerfasst: Fr 19.11.04 17:18 
Hallo,

wie kann ich machen, dass ich wenn ich mein Programm ausführe ein Icon anklicke und, dass sich z.b. ein Unterprogramm oder das selbe Programm irgendwo anders hinkopiert und zwar mit einem anderem Icon?
danke
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Fr 19.11.04 20:32 
Wenn ausführen mit anderem Icon:
Parameter übergeben und danach
ausblenden Delphi-Quelltext
1:
Application.Icon.Handle := LoadIconRessource(...);					

Näheres zu LoadIconRessource siehe DOH.

Wenn kopieren mit anderem Icon:
Bearbeiten der Ressourcen-Sektion der Anwendung. Viel Spaß schonmal ;-)
Achso: Erster Eintrag in Icon Directory ist Programm-Icon.

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
kreuzkrieter Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 47



BeitragVerfasst: Sa 20.11.04 13:24 
Wie macht man das mit dem Bearbeiten der Ressourcen-Sektion?

Hast du ein Beispiel? Ich bin in sowas nich so fit.
GTA-Place
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
EE-Regisseur
Beiträge: 5248
Erhaltene Danke: 2

WIN XP, IE 7, FF 2.0
Delphi 7, Lazarus
BeitragVerfasst: Sa 20.11.04 13:31 
Zitat:
Näheres zu LoadIconRessource siehe DOH.


DOH = DelphiOnlineHilfe (oder DelphiOnlineHelp) = F1
kreuzkrieter Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 47



BeitragVerfasst: Mo 22.11.04 19:33 
Zitat:
Wie macht man das mit dem Bearbeiten der Ressourcen-Sektion?

Hast du ein Beispiel? Ich bin in sowas nich so fit.