| |
|
|
Pedro Santos | Hello
is it possible one Transparenten Toolbar with XProfan toolbar function to produce? In my Program have I one bmp with the buttons The I in the toolbar use still depending on desktop theme the in computer is changes itself too The hintergrundsfarbe from the buttons in the Toolbar.
screenshoots from the unschönen Efekt
greeting
Pedro |
|
|
| |
|
|
|
| now You could you so help the You by Getsyscolor whom Farbwert ermittelst - and in the Backgroundimage startpaint mcls your Toolbilder with loadbmp ,0,0;-1 on The colour transparent load - anew save - and the gespeicherte Image uses.
salvo. |
|
|
| |
|
|
|
Peter Max Müller | Hi, Perhaps helps it if you two Toolbar Bitmaps erstellst.an for Klassische Window mutants and a for XP.means with different Grautönen.then screen You at Start your application under welchem Betriebssystem tappt im dunkeln runs and ladest The suitable Bitmap.
MfG |
|
|
| |
|
|
|
Frank Abbing | No Peter. The colour is Yes spare adjustable. iFs suggestion is the gebräuchliche. with something API can whom detour the Speicherns too yet bypass. |
|
|
| |
|
|
|
Peter Max Müller | |
|
|
|
Frank Abbing | Mach simply:
CLS GetSysColor(15) |
|
|
| |
|
|
|
Peter Max Müller | Hi, How You already treffend erwähnt have: The colour is spare wählbar.means nützt me the so too nothing.
and of course therefore: I have one Program in the I following row installed have: CompileMarkSeparationstring string#,0 = "Test"
Zeige% = SKCtrl_CreateColorStatic(D%,string#,RGB(255,0,0),RGB(Red%,Green%,Blue%),085,098,18,19,%hInstance)e> (RGB(Red%,Green%,Blue) position whom background the Statics one.)
there now The colours under windows changed go can and of Windowsversion To Windowsversion deviation I thought me that I with the code of my previous Postings The jeweilige Systemfarbe choose and the RGB worth the supra indicated row commit.(Red%,Green,Blue%) Virtually a pseudo-Transparents.otherwise sees one with Farbwechseln always whom background the Statics the not to the Window/dialog fit. and there lying the bunny in the pepper.If I mean Systemfarben choose have I others RGB values as The tatsächlichen and accordingly fit the then naturally not. but with many others Farbeinstellungen works it then again.
It's all right I do not circa CLS.the was Perhaps something verwirrend in the previous Posting. Sorry.
MfG P.P.M
Edit: Topic has Done.thanks all.Greeting |
|
|
| |
|
|
|
Frank Abbing | SetTrueColor forget, what? |
|
|
| |
|
|
|
Peter Max Müller | Hi, No.as far as i know setting Profan ex Version 8 (XProfan8) standardmäßig SetTrueColor.even if ,had me the neither helped.
I have The response only extra concise held so I you not further with my geistigen Ergüssen nerve.
now nevertheless:
I supra named example (the from the Profan Help) have I only following Lines changed.
original: CompileMarkSeparationRed% = (BackColor& >> 16) & $FF
Green% = (BackColor& & $FFFF) >> 8
Blue% = (BackColor& & $FFFF) & $FF re> changed in: CompileMarkSeparationRed% = (BackColor& & $FFFF) & $FF
Green% = (BackColor& & $FFFF) >> 8
Blue% = (BackColor& >> 16) & $FF re> means useful The values of Red% and Blue% swapped. in a whether there one Error in the Profan Help stick or Why the otherwise so is.
anyway can I now The right Systemfarbe read,the Static as Backgroundcolor allocate and the users can his Farbschema take on How it wants.
Greeting P.P.M |
|
|
| |
|
|