Autor Beitrag
GSE
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 740

Win 2k, Win XP Pro
D5 Prof, D6 Ent, D2k5 PE
BeitragVerfasst: So 09.03.03 15:30 
Hi Leuts, :wave:

ich fang am besten gleich mit meinem Problem an: Ich möchte die langweilige "Windows-Standard-Scrollbar" einer TScrollbox durch meine eigene (genauer: TRxSlider) ersetzen. Wie kriege ich das am besten hin?
Meine vorherigen Versuche waren alle zum Scheitern verurteilt! :cry:

Danke schon im Voraus!

mfg
GSE

_________________
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs
and the universe trying to produce bigger and better idiots. So far, the universe is winning. (Richard Cook)
Popov
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 1655
Erhaltene Danke: 13

WinXP Prof.
Bei Kleinigkeiten D3Pro, bei größeren Sachen D6Pro oder D7
BeitragVerfasst: So 09.03.03 16:04 
Wird etwas Arbeit sein. Du wirst zuerst die alte ScrollBar abschalten müssen. Dann wirst du von der Neuen per Messages an die ScrollBox mitteilen müssen ob es runtergeht oder rauf. Ich würde sagen mach das erst fertig und dann kann man sich noch mal unterhalten.

_________________
Popov
GSE Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 740

Win 2k, Win XP Pro
D5 Prof, D6 Ent, D2k5 PE
BeitragVerfasst: So 09.03.03 16:33 
Ich glaube du hast mich falsch verstanden:

Ich möchte ja keine neue Scrollbox-Komponente programmieren sondern nur die alte Scrollbar der Scrollbox über eine andere Scrollbar verschieben.

mfg
GSE

_________________
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs
and the universe trying to produce bigger and better idiots. So far, the universe is winning. (Richard Cook)
Popov
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 1655
Erhaltene Danke: 13

WinXP Prof.
Bei Kleinigkeiten D3Pro, bei größeren Sachen D6Pro oder D7
BeitragVerfasst: So 09.03.03 18:06 
Das hab ich auch so verstanden. Deshalb hab ich auch vergeschlagen, daß du die alte Scrollbar abschaltest und die Neue danebenlegst.

Ansonsten weiß ich auch nicht wie man einen Komponente die bereits eine ScrollBar hat sonst steuern könnte. Ich hab das mal vor langer Zeit einmal gemacht und es hat funktioniert.

Es kann aber sein, daß andere bessere Vorschläge haben.

_________________
Popov
torstenheinze
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 461



BeitragVerfasst: So 09.03.03 18:10 
im prinzip hast du vorgeschlagen, was er in seiner frage schon geschrieben hatte. er will ja eben wissen, wies geht, und net, das es so geht. :roll:
Popov
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 1655
Erhaltene Danke: 13

WinXP Prof.
Bei Kleinigkeiten D3Pro, bei größeren Sachen D6Pro oder D7
BeitragVerfasst: So 09.03.03 18:29 
Ich hab ihm auch mehr oder weniger gesagt wie das geht. Es sind einfach Messages die an die Box geschickt werden (leider fallen mir die Namen nicht ein). Er sollte also im API Forum fragen.

Aber das ist nur das rauf und runter. Er muß auch noch die Position des Balkens berechnen usw.

Es gab übrigens in den letzten Tagen irgendwo etwas zu dem Thema (glaube ich).

_________________
Popov
Motzi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2931

XP Prof, Vista Business
D6, D2k5-D2k7 je Prof
BeitragVerfasst: So 09.03.03 20:35 
Zitat:
Es sind einfach Messages die an die Box geschickt werden

Die Messages heißen WM_HSCROLL bzw WM_VSCROLL.. einfach mal im PSDK anschaun..

Aber ich fürchte dass das mit dem Ersetzen nicht so einfach werden wird...

_________________
gringo pussy cats - eef i see you i will pull your tail out by eets roots!
GSE Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 740

Win 2k, Win XP Pro
D5 Prof, D6 Ent, D2k5 PE
BeitragVerfasst: So 09.03.03 22:01 
Mmmh, mal sehen.
Aber trotzdem erstmal Danke!

mfg
GSE

_________________
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs
and the universe trying to produce bigger and better idiots. So far, the universe is winning. (Richard Cook)