Autor Beitrag
TheNeon
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 408

Windows
VS2010 C#
BeitragVerfasst: Sa 19.04.03 05:11 
Huhu alle zusammen,

ich glaub ab WinME gibt es die zweifarbige Titelleiste (mit Farbverlauf) ...... die linke Farbe bekomme ich durch lcActiveCaption, aber wie die rechte (neben dem "X") ???????????????

Irgendwelche Kenntnisse, die ich noch nicht habe??

_________________
Phantasie ist wichtiger als Wissen, denn Wissen ist begrenzt.
(c) Albert Einstein


Zuletzt bearbeitet von TheNeon am So 20.04.03 16:56, insgesamt 1-mal bearbeitet
RFZ
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 137

WinME, WinXP, Win2k*, Win98*, Win95*, Win3.11*, DOS* (*VMware)
D4 Prof
BeitragVerfasst: So 20.04.03 16:00 
Direkt garnicht, aber du kannst es über die Registry auslesen:
"HKEY_CURRENT_USER\Control Panel\Colors"
GradientActiveTitle und GradientInactiveTitle


cu RFZ
MathiasSimmack
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: So 20.04.03 16:05 
Interessant wäre, ob das evtl. bei Delphi 6 oder 7 anders ist. Denn meiner Meinung nach liegt es lediglich an einer älteren Delphi-Version, wenn man auf bestimmte Funktionen o.ä. nicht zugreifen kann.

In dem Fall wäre es durchaus möglich, dass Borland z.B. in D7 eine entsprechende Variable vorgesehen hat.
RFZ
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 137

WinME, WinXP, Win2k*, Win98*, Win95*, Win3.11*, DOS* (*VMware)
D4 Prof
BeitragVerfasst: So 20.04.03 16:07 
Jo, möglich, ich hatte in dem Fall Delphi 4, und da gibbet es nicht.

cu RFZ
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 20.04.03 16:26 
Links: GetSysColor(COLOR_ACTIVECAPTION)
Rechts: GetSysColor(COLOR_GRADIENTACTIVECAPTION)

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

Windows
VS2010 C#
BeitragVerfasst: So 20.04.03 17:06 
Motzi hat folgendes geschrieben:
Links: GetSysColor(COLOR_ACTIVECAPTION)
Rechts: GetSysColor(COLOR_GRADIENTACTIVECAPTION)


erste Sahne, Motzi ........ klappt super, sogar mit wenig Tipperei 8)
THX

_________________
Phantasie ist wichtiger als Wissen, denn Wissen ist begrenzt.
(c) Albert Einstein