Autor Beitrag
Marco D.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: So 15.01.06 15:53 
Hallo!

Ich würde gern den Style der Controls aus WIndows-Vista in meine Anwendungen integrieren. Ist es noch zu früh, oder kennt jemand eine Möglichkeit?


Moderiert von user profile iconChristian S.: Topic aus Multimedia / Spiele / Grafik verschoben am So 15.01.2006 um 15:55

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
Andreas L.
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1703
Erhaltene Danke: 25

Windows Vista / Windows 10
Delphi 2009 Pro (JVCL, DragDrop, rmKlever, ICS, EmbeddedWB, DEC, Indy)
BeitragVerfasst: So 15.01.06 16:02 
Hi,
1. Du machst ein Theme oder nimmst ein bestehendes. Nachteil: Funktioniert vermutlich nur unter XP korrekt, alle anderen Anwendungen sind auch in den Vista-Style.
2. Du findest irgendwo Komponenten.
3. Du baust dir das selber. Einigen Komponenten aus der JVCL kannst du Bmps als Skins geben...

Was anderes fällt mir momentan nicht ein!
Marco D. Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: So 15.01.06 16:19 
Könnte ich nicht auch neue Komponenten ableiten? Zum Beispiel leite ich die Komponent "TVistaButton" von "TButton" ab. Ich müsste ja "nur" :wink: die grafischen Sachen abändern. Der restliche Code ist ja gleich. Was sagt ihr dazu?

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
Andreas L.
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1703
Erhaltene Danke: 25

Windows Vista / Windows 10
Delphi 2009 Pro (JVCL, DragDrop, rmKlever, ICS, EmbeddedWB, DEC, Indy)
BeitragVerfasst: So 15.01.06 16:27 
Ich hab mich noch nicht mit Komponentenentwicklung beschäftigt. Aber soweit ich weiß müsste das gehen...
Marco D. Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: So 15.01.06 16:44 
Gibt es Tuts oder anderes Material, wo ich mich mit Komponentenentwicklung vertraut machen kann?

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
Luckie
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: So 15.01.06 22:20 
user profile iconKoller hat folgendes geschrieben:
Gibt es Tuts oder anderes Material, wo ich mich mit Komponentenentwicklung vertraut machen kann?

Findet man betsimmt mit Google.
Wishmaster
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 34



BeitragVerfasst: So 15.01.06 23:53 
Hi

ich habe mir die ThemeEngine 6.x von www.ksdev.com/themeengine/index.html
besorgt! Der preis ist auch OK ($69.00 US) + full sources

es kann (*.mskn, msstyles, uskn, kskn, xsks, theme);






What's New in ThemeEngine 6 ::

150+ components. ThemeEngine 6 includes 150+ stable and easy to use components for create great-looking applications.
2000+ free themes. You can download 2000+ free visual styles for your applications from Internet (www.themexp.org)
Stable code ThemeEngine 6 uses the optimized, well organized and stable code from the last versions.
Marco D. Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: Mo 16.01.06 14:47 
@Wishmaster:

Nein, danke :wink: Da probier ich lieber selber, was zusammenzubasteln. :wink:

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
MKX
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 95

Win XP, Ubuntu Linux 7.02
Delphi 3 Prof., Delphi 2005 PE
BeitragVerfasst: Fr 20.01.06 12:51 
Leite aber nichts von TButton ab! Soweit ich weiß wird dieser Komponente von Windows ihr Style gegeben.
Marco D. Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: Fr 20.01.06 14:23 
Ich dachte da eher an TCustomControl. Oder gibt es was sinnvolleres?

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
Lossy eX
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1048
Erhaltene Danke: 4



BeitragVerfasst: Fr 20.01.06 15:09 
Die bestehenden Klassen zu überschreiben geht teilweise. Bei einem Button kann man sich in die Zeichenroutinen einklinken und bei Bedarf eigenes zeichnen. Windows zeichnet intern teilweise ohne WM_PAINT neu, was einen in den Wahnsinn treiben kann. Und bei einem Edit geht er sogar so weit und sperrt sogar den DC womit man das nicht mal zeichnen kann.

Alles von Grund auf neu zu programmieren ist in etwa ähnlich schwierig, da man wirklich alles selber machen muss. Das solltest du auf keinen Fall vergessen oder unterschätzen. Speziell wenn es um komplexere Komponenten geht. Die einfach nach zuprogrammieren ist zwar eines aber sie sollten dann auch noch halbwegs den normalen Interaktionsregeln folgen man es aus Windows gewohnt ist.

Wenn du selber keine große Ahnung von der Komponentenentwicklung hast solltest du es wohl eher lassen und dich auf diversen Webseiten (Torry etc) mal umschauen oder halt bei google mal intensiv suchen.

Ich bin derzeit dabei ein Komponentensystem für unter anderem OpenGL zu basteln. In der Mitte gibts nen Sampleprogramm. Allerdings habe ich den Nachteil, dass ich sogar die Fensterverwaltung selber machen musste. Da du es für Windows machst würde das deine arbeit schon mal erleichtern. Aber nichts desto trotz ist eine ganz schöner batzen arbeit so etwas zu tun.

[edit] Falls du es immer noch selber machen oder falls du andere Komponenten schreiben möchtest ist das CustomControl schon ganz gut. Oder falls du kein Fensterhandle (+ Tastaturereignisse) benötigst wäre auch ein GraphicControl geeignet.

_________________
Nur die Menschheit ist arrogant genug, um zu glauben sie sei die einzige intelligente Lebensform im All. Wo nicht mal das nachhaltig bewiesen wurde.
Marco D. Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: Fr 20.01.06 15:52 
Danke für deine ausführlichen Tipps. :-)

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
Coder
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1383
Erhaltene Danke: 1

WinXP
D2005 PE
BeitragVerfasst: Fr 20.01.06 16:13 
Meint ihr nicht das es in Vista auch eine .manifest oder etwas ähnliches geben wird?

Edit// Ihr meint wohl unter XP
Marco D. Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: Fr 20.01.06 16:29 
Mag sein, aber ein Vista-Style jetzt schon für die eigenen Programme? Ich denke, so etwas wäre sehr sehr sehr... gefragt, oder nicht? Spricht was dagegen, wenn es so etwas gäbe. Ich will den Entwicklugnsaufwand nicht herunterspielen.

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot