Autor Beitrag
freq.9
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 39

Win XP (RedHat 9)
Delphi 7.0 Ent
BeitragVerfasst: Do 23.10.03 10:56 
Hab hier mal nen Screenshot damit ihr wisst was ich meine: [ Screenshot ]
Die Links sind ausm Webweaver Editor und rechts das, das sind meine. Wie bekomm ich meine genau so hin ?

_________________
Admin of RealScripts
ErnestoChe
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 528

Win 2000 pro, CRUX 2.0
Delphi 6 Pers, Open K3
BeitragVerfasst: Do 23.10.03 11:03 
Hi,

ab Delphi 6 gibt es die Shell-Komponenten z.B. TShellListView im Reiter
Beispiele der Komponentenleiste.

MFG

- Ernesto -
freq.9 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 39

Win XP (RedHat 9)
Delphi 7.0 Ent
BeitragVerfasst: Do 23.10.03 11:11 
Und das sagt mir nun was ? Bin noch ned so Erfahren in Sachen Delphi... Hab es erst 6 Tage !

sche****: hab grad meine .dpr an der ich nu schon 6 Tage arbeite überschrieben !! NEINNN
Boah Glück... hatte noch eine ältere version im Papierkorb.

_________________
Admin of RealScripts
maximus
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 896

Win XP, Suse 8.1
Delphi 4/7/8 alles prof
BeitragVerfasst: Do 23.10.03 11:53 
hi,

du wirst ja wohl in der Komponentenleiste das register 'Beispiele' finden? ...einfach delphi mal bisschen genauer ankucken :wink:

_________________
mfg.
mâximôv
mirage228
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 338

Win 7 Prof.
Delphi 2005 Prof., Delphi 2010 Prof.
BeitragVerfasst: Do 23.10.03 12:26 
und wie geht das ganze, wenn man kein Delphi6 hat? muss ich mir dann alles selbst machen (ListBox+ImageList+SHGETFILEINFO etc.)?

mfG
mirage228

_________________
May the source be with you, stranger.
Tino
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Veteran
Beiträge: 9839
Erhaltene Danke: 45

Windows 8.1
Delphi XE4
BeitragVerfasst: Do 23.10.03 12:26 
mirage228 hat folgendes geschrieben:
und wie geht das ganze, wenn man kein Delphi6 hat? muss ich mir dann alles selbst machen (ListBox+ImageList+SHGETFILEINFO etc.)?

In deinem Profil hast du aber angegeben das du D6 Pers hast.
mirage228
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 338

Win 7 Prof.
Delphi 2005 Prof., Delphi 2010 Prof.
BeitragVerfasst: Do 23.10.03 12:32 
Ich wollte aber gerne eine Lösung für Delphi 3 Professional haben, da ich Delphi6 Personal so gut wie nicht benutze und ich es für evtl. kommerzielle Anwendung auch nicht nutzen darf.
Daher interessierte mich eine einfachere Lösung (als alles manuell zu machen) in Delphi 3 Prof.

mfG
mirage228

_________________
May the source be with you, stranger.
ErnestoChe
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 528

Win 2000 pro, CRUX 2.0
Delphi 6 Pers, Open K3
BeitragVerfasst: Do 23.10.03 12:35 
Hi,

@mirage228
Ja. Bei Delphi 5 ist im Ordner Demos das Beispiel-Projekt Virtual ListView dabei. Da kann man sich anschauen wie das geht. Ob's das in den niedrigeren Versionen auch gibt weiss ich nicht.

MFG

- Ernesto -
freq.9 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 39

Win XP (RedHat 9)
Delphi 7.0 Ent
BeitragVerfasst: Do 23.10.03 13:28 
Naja ich brauch fpr das ShellTreeView auch ein ShellListView und da sind immer diese großen Icons... ich will aber ne Liste. Wie bekomm ich das hin ?

_________________
Admin of RealScripts
ErnestoChe
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 528

Win 2000 pro, CRUX 2.0
Delphi 6 Pers, Open K3
BeitragVerfasst: Do 23.10.03 13:33 
Hi,

ViewStyle auf vsList oder vsReport stellen. Schau dir erstmal in Ruhe alle Eigenschaften im OI an.

MFG

- Ernesto -
freq.9 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 39

Win XP (RedHat 9)
Delphi 7.0 Ent
BeitragVerfasst: Do 23.10.03 13:40 
Wenn ich beides in mein Form gepackt hab und dann die sachen zuweise was zu wem gehört dann kommt:
Delphi 6.0 Pers hat folgendes geschrieben:
Access violation at address 00328B69 in module 'designide60.bpl'. Read of address 00000000

... und ich komm da ned mehr raus und muss Delphi über Strg+Alt+Entf > Prozesse killen...

_________________
Admin of RealScripts
mirage228
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 338

Win 7 Prof.
Delphi 2005 Prof., Delphi 2010 Prof.
BeitragVerfasst: Do 23.10.03 14:07 
Verwendet du ein XP-Manifest?

Damit solls in Verbindung mit dem Style vsReport Probleme geben, soweit ich weiss!

mfG
mirage228

_________________
May the source be with you, stranger.
freq.9 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 39

Win XP (RedHat 9)
Delphi 7.0 Ent
BeitragVerfasst: Do 23.10.03 14:25 
ja ich nutz nen WinXP-Manifest... Wie kann ich das denn wenn beheben bzw. umgehen ?

_________________
Admin of RealScripts
maximus
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 896

Win XP, Suse 8.1
Delphi 4/7/8 alles prof
BeitragVerfasst: Do 23.10.03 17:22 
Ich zitiere aus der delphi-praxis:

ausblenden volle Höhe Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
...verhindern, dass es unter XP eine Zugriffsverletzung mit TListView gibt?  
Autor: Thomas Stutz  
2 Kommentar(e) zu diesem Tip [Neuer Kommentar schreiben] 
[ Tip ausdrucken ]     

Tip Bewertung (4):   
      





  The TListView with a vsReport style causes an access violation 
  when you run your project with a XP manifest resource. 

  The VCL wrapper has a bug and you must patch sources. 
  Just copy the comctrls.pas unit in the folder with your own 
  project and modify the UpdateColumn method. 
  After compiling the project, a comctrls.dcu is created 
  and you can replace the original comctrls.dcu with the 
  patched one. 

}
 


  Wenn ein XP Manifest als Ressource in eine Exe-Datei eingebunden 
  wird, um einer Applikation das neue XP-Design zu verleihen, 
  gibt es bei der TListView mit Style vsReport eine Zugriffsverletzung 
  und die Anwenung lässt sich nicht starten. 

  Das ist ein VCL Bug und kann behebt werden, indem 
  comctrls.pas modifiziert wird. 
  Kopiere die comctrls.pas in dein Projekte-Verzeichnis und 
  ändere die UpdateColumn Methode wie folgt. 
  Nach dem Kompilieren wird eine Comctrls.dcu Datei erstellt. 
  Die original Comctrls.dcu kann nun durch die modifizierte ersetzt werden. 
}
 


// ComCtrls.pas: 

procedure TCustomListView.UpdateColumn(AnIndex: Integer); 
{...} 
with Column, Columns.Items[AnIndex] do 
begin 
  { PATCH start:} 
  // mask := LVCF_TEXT or LVCF_FMT or LVCF_IMAGE; 
  mask := LVCF_TEXT or LVCF_FMT; 
  if FImageIndex >= 0 then 
    mask := mask or LVCF_IMAGE; 
  { PATCH :end } 
  {...} 
end;


cu,[/quote]

_________________
mfg.
mâximôv
scrooge
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 200



BeitragVerfasst: Fr 24.10.03 11:48 
Komisch, bei mir finde ich kein ComCtrls.pas !!
freq.9 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 39

Win XP (RedHat 9)
Delphi 7.0 Ent
BeitragVerfasst: Fr 24.10.03 13:45 
da muss ich aber sagen dass ich mich dem scrooge anschliesse... ich hab auch keine comctrls.pas

_________________
Admin of RealScripts
mirage228
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 338

Win 7 Prof.
Delphi 2005 Prof., Delphi 2010 Prof.
BeitragVerfasst: Fr 24.10.03 13:47 
Die Sourcen, also die PAS Dateien, der Units werden erst ab einer Professional Version von Delphi mitgeliefert.

mfG
mirage228

_________________
May the source be with you, stranger.
freq.9 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 39

Win XP (RedHat 9)
Delphi 7.0 Ent
BeitragVerfasst: Fr 24.10.03 13:56 
ja und ich hab 6 Pers... was nu ?

_________________
Admin of RealScripts
Luckie
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Fr 24.10.03 19:14 
Delphi 6 Personal:
C:\Programme\Borland\Delphi6\Source\Rtl\Win

Also bei mir habe ich da eine comctrls.pas. :roll:
MathiasSimmack
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Fr 24.10.03 19:44 
Da stellt sich doch die Frage: Woher, @Luckie? Laut allen Borland-Info-Blättern gibt´s die Sourcen nicht in den Personal-Versionen.

Das ist eben so ein Kritikpunkt, den ich bei Borland habe. Offiziell ist nur Delphi 7 100% kompatibel zur neuen Shell von Windows XP. Die Besitzer älterer Versionen schauen in die Röhre, wenn sie nicht gerade eine Pro- oder Enterprise-Version zum Ändern der Sourcen haben.

Bei Microsoft gibt´s mit dem PSDK gleich einen Satz neuer Headerdateien dazu, die man auch mit einem Visual C++ Standard nutzen kann. So was würde ich mir von Borland auch mal wünschen.

Aber das habe ich schon so oft gesagt ... :roll: ... einen Sinn hat´s leider ohnehin nicht.