English
Forum

GETSYSCOLOR - values for eig. Window "verbiegen"

 

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 X3
Grüß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  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

4.989 Views

Untitledvor 0 min.
H.Brill02/04/22
p.specht08/18/17
Rainer Hoefs08/03/17
Fabbio06/10/17
More...

Themeninformationen

this Topic has 2 subscriber:

Matthias Arlt (1x)
E.T. (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie