English
Forum

Backgroundcolor in the text box

 
- Page 1 -



Hubert
Binnewies
Hello together..

I Have there following row:
CompileMarkSeparation
TEXT1& = CREATE("TEXT",%HWND,"irgendeintext",0374,0088,0242,0020)
>

now becomes me the Text in the Systemgrau hinterlegt.
I Have already what found around the colour To Change,
but How I get whom background Transparent there??

Hubert
 
WinXP Prof, XProfan 9.1 Newbie

Ein kluger Kopf sagte mal:
"Nach dem derzeitigen Stand der Technik ist es unmöglich Programme zu schreiben, die fehlerfrei laufen!"
09/05/06  
 



 
- Page 4 -



Jac
de
Lad
Thank you.

if You the hinkriegst, then machs still same for others Controls (if the hoisted properly lowly is). Perhaps can you indeed a mode einühren, only for transparenten background, where everything else is, as though the control with Create() prepares watts.

Jac
 
Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE)
Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP
01/15/08  
 




Sebastian
König
Hello Jac,


if You the hinkriegst, then machs still same for others Controls (if the hoisted properly lowly is). Perhaps can you indeed a mode einühren, only for transparenten background, where everything else is, as though the control with Create() prepares watts.


the hoisted would not too big - in the integral something Copy&Paste-work... unfortunately come I well today and tommorrow trotzden not yet moreover... I try it In any drop until weekend ready To get.


Perhaps can you indeed a mode einühren, only for transparenten background, where everything else is, as though the control with Create() prepares watts.


How very mean You, the? at least for the ColorStatic is it already now possible, whom transparenten background directly in the appeal of SKCtrl_CreateColorStatic() einzustellen, because -1 for Backgroundcolor transfer becomes.

whom Error Changing the Fonts could I unfortunately not understand - the following functions by me wonderful:
CompileMarkSeparation
declare font&
let font& = Create(Font,Arial,12,0,1,0,0)
SetFont tcb1&,fon
re>

or have I there now something wrong understood?

MfG

Sebastian
 
Windows XP, XProfan/Profan² 4.5 bis 11
Profan2Cpp-Homepage:  [...] 
Alte Profan²-Seite:  [...] 
01/15/08  
 




Jac
de
Lad



Perhaps can you indeed a mode einühren, only for transparenten background, where everything else is, as though the control with Create() prepares watts.


How very mean You, the? at least for the ColorStatic is it already now possible, whom transparenten background directly in the appeal of SKCtrl_CreateColorStatic() einzustellen, because -1 for Backgroundcolor transfer becomes.


I meant, a mode, where the control with all tuned Standardeinstellungen erstelllt becomes (type, Schriftfarbe etc.), and only the background transparent is.


whom Error Changing the Fonts could I unfortunately not understand - the following functions by me wonderful:
CompileMarkSeparation
declare font&
let font& = Create(Font,Arial,12,0,1,0,0)
SetFont tcb1&,fon
re>

or have I there now something wrong understood?


there have I sure a Error made. I probiers then again from.

Jac
 
Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE)
Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP
01/15/08  
 




Jac
de
Lad
I see, with the type i was again something voreilig. It's all right. But something costly (Standardfontauswählen, Size, colour...).

Well, goes already, must it Yes only once make and can then whom lever the Font using.

Jac
 
Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE)
Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP
01/15/08  
 




Sebastian
König

I meant, a mode, where the control with all tuned Standardeinstellungen erstelllt becomes (type, Schriftfarbe etc.), and only the background transparent is.


Achso, i see. on the simplest can itself with the of/ one short XProfan-procedure realiesieren... [whom standard-dialog-Font get one over ~GetStockObject(~DEFAULT_GUI_FONT)]
MfG

Sebastian
 
Windows XP, XProfan/Profan² 4.5 bis 11
Profan2Cpp-Homepage:  [...] 
Alte Profan²-Seite:  [...] 
01/15/08  
 




Jac
de
Lad
I see, thanks, I bastel me what together.

white someone, How I The standardmäßig tuned Schriftfarbe get? and the background and the Häkchenfarbe for Check boxes? GetSysColor() shining me for unfit...

Jac
 
Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE)
Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP
01/15/08  
 




Sebastian
König
i'd already think, that GetSysColor() the right lane is. If one of it ausgeht, that Häcken and Font The same colour having (I can me not remind, that Schonmal differently seen to have), is well COLOR_BTNTEXT The suitable Constant. The Backgroundcolor ought to simply COLOR_WINDOW his.

MfG

Sebastian
 
Windows XP, XProfan/Profan² 4.5 bis 11
Profan2Cpp-Homepage:  [...] 
Alte Profan²-Seite:  [...] 
01/16/08  
 




Jac
de
Lad
The Font is by me Black, The tick green (Windows XP). If I COLOR_Window yellow make, stay The Check boxes nevertheless with weißem Hinergrund.
 
Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE)
Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP
01/16/08  
 




Sebastian
König
interestingly... How have You, the because tuned? under display -> statement -> Erweitert find I The Options for not at all...
 
Windows XP, XProfan/Profan² 4.5 bis 11
Profan2Cpp-Homepage:  [...] 
Alte Profan²-Seite:  [...] 
01/16/08  
 




Jac
de
Lad
the lying on the XP-Theme. I find it neither. and it changes itself neither, if I The colours in even jenem dialog change.
 
Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE)
Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP
01/16/08  
 




Sebastian
König
Jac
the lying on the XP-Theme. I find it neither. and it changes itself neither, if I The colours in even jenem dialog change.


Achso, naturally... for these whole Theme-things count Yes integrally others regulate. I could me present, that Perhaps in the uxtheme.dll a function to that Reading the colours to find is.

EDIT: the here sees half-way properly from: [...]  unfortunately shining The Benutzung in the comparison To GetSysColor() something komplizierter To his, there one well first one Theme open must.

another remark: too with the right colours sähe a ColorCheckBox the SKControl.DLL still not so from as an normal CheckBox in the XP-Style...

MfG

Sebastian
 
Windows XP, XProfan/Profan² 4.5 bis 11
Profan2Cpp-Homepage:  [...] 
Alte Profan²-Seite:  [...] 
01/16/08  
 




Jac
de
Lad
Hm, I take now weiße Check boxes with black tick. the Result is ok. only on The transparency were I yet (How uach with Radiobutton), but you have Yes said, the make You yet with times (wants you really not drängeln).

Jac
 
Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE)
Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP
01/16/08  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

14.109 Views

Untitledvor 0 min.
Sven Bader11/22/23
H.Brill06/07/23
rafl09/17/17
Martin Kempf02/12/16
More...

Themeninformationen



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