| |
|
|
E.T. | I versuch's time To explain : I create one Window and would like hereon div. items take off, z.B. Buttons, Groupboxen, ... . means set I the Window-background by cls getsyscolor(15) . so fit then farblich The Buttons, Groupboxen etc. beautiful on the background. want I now z.B. a black Window-background (cls rgb(0,0,0) ), then see hereon erstellte element simply Sch... äh I mean unschön from: Buttons and erstellte Texts (z.B. too cover the Groupbox) having then nat. as background The Systemfarbe getsyscolor(15). One Button has then a lovely rounds welt, but over this out even too a viereckigen background.
my thought: might one the eig. Program not somehow others getsyscolor-values "vorgaukeln", which then too any others Win-Window not bearing ?? or somehow even The of XProfan verwendeten system-colours bearing, without in that system einzugreifen ??
there missing me somehow one Ansatzpunkt.
... and circa some Answer beforehand To take: NEIN, i want not each element in its particular self draw must and would like too no ext. dll's (skcontrol etc.) benefit.
sense the thing would, The getsyscolor-values only for the Own Program To verbiegen, so thats then only of these a XProfan-Program uses go. |
|
|
| XProfan X3Grüße aus Sachsen... Mario WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte... | 05/17/16 ▲ |
|
|
|
|
Matthias Arlt | in the Window-SubClassing on WM_CTLCOLORBTN react:
if Msg& = 309'WM_CTLCOLORBTN
return external("USER32","GetSysColorBrush",21)'21=COLOR_3DDKSHADOW
'(or a others Brush beliebiger colour)
so goes it, at least with standard-Buttons, in XP-Style.
appendix: with the GroupBox and at RadioButton is the Schriftbalken one STATIC. here must means on WM_CTLCOLORSTATIC (312) reacted go.
Greeting Matthias |
|
|
| WinXP SP2, Win7 - XProfan 10/11/FreeProfan32 - Xpia | 05/17/16 ▲ |
|
|
|