Autor Beitrag
Coder
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1383
Erhaltene Danke: 1

WinXP
D2005 PE
BeitragVerfasst: Mo 12.06.06 13:11 
Hi
Ich hab mir mal die XPMan.pas angeguckt und da ist mir was aufgefallen.
Man muss nicht TXPManifest aufs Formular packen.
Man braucht auch nicht die Unit XPMan in die Uses einzubinden.
Es reicht einfach {$R WindowsXP.res} unter implementation zu schreiben und schon hat man den XP-Style.
Ich habs in D2005 PE getestet und mir ist nichts negatives aufgefallen.
Was machen diese Varianten für einen Unterschied? :lupe:
Mindforce
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 358

Win XP Pro / MCE, Win 98, Slax (Linux)
Delphi 07 PRO, Delphi 3+7 (mit Prdx)
BeitragVerfasst: Mo 12.06.06 13:17 
Hi,

wie hast du das denn gemacht. Bei mir geht das nicht.
Muss man trotzdem nun ein Manifest einbinden??? :roll:
Aber keine schlechte entdeckung. :zwinker:

Gruss,

Mindforce

/Edit: Ohhoh.

ausblenden Quelltext
1:
[Fehler] E2161 Duplicate resource:  Type 24 (user-defined), ID 1; File c:\programme\borland\bds\3.0\lib\WindowsXP.res resource kept; file c:\programme\borland\bds\3.0\lib\WindowsXP.res resource discarded.					

_________________
Our force; in mind.
Coder Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1383
Erhaltene Danke: 1

WinXP
D2005 PE
BeitragVerfasst: Mo 12.06.06 14:33 
Der Fehler kommt wenn XPMan in den Uses steht.
Einfach nur {$R WindowsXP.res} unters implementation :D
FSS
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 83

Win 7 Professional 64Bit
Delphi 7 PE, Delphi 2005 PE, Turbo Delphi Explorer 2006
BeitragVerfasst: Sa 17.06.06 16:18 
Klasse Tipp, habs schon in meinem aktuellen Projekt eingebaut!

Danke!