English
Forum

transparent toolbar

 

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

33 kB
Hochgeladen:01/03/06
Downloadcounter105
Download
30 kB
Hochgeladen:01/03/06
Downloadcounter85
Download
 
Windows XP Home
Xprofan 10
01/03/06  
 



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.
 
01/03/06  
 




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
 
XProfan X3, X4ß, Win 10.1
01/05/06  
 




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.
 
01/05/06  
 




Peter
Max
Müller
Tach,
question moreover:
CompileMarkSeparation
-Begin-----------------------------------------------------------------
-Header Files--------------------------------------------------------
 $H Windows.ph
-Global Variables----------------------------------------------------
Declare BackColor&, Red%, Green%, Blue%
-WindowBackground----------------------------------------------------
BackColor& = ~GetSysColor(~COLOR_3DFACE)
Red% = (BackColor& >> 16) & $FF
Green% = (BackColor& & $FFFF) >> 8
Blue% = (BackColor& & $FFFF) & $FF
Cls @RGB(Red%, Green%, Blue%)
WaitKey
-End-------------------------------------------------------------------
XProfan X3, X4ß, Win 10.1
01/05/06  
 




Frank
Abbing
Mach simply:

CLS GetSysColor(15)
 
01/05/06  
 




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:
CompileMarkSeparation
string 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
 
XProfan X3, X4ß, Win 10.1
01/06/06  
 




Frank
Abbing
SetTrueColor forget, what?
 
01/06/06  
 




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:
CompileMarkSeparation
Red% = (BackColor& >> 16) & $FF
Green% = (BackColor& & $FFFF) >> 8
Blue% = (BackColor& & $FFFF) & $FFre>

changed in:
CompileMarkSeparation
Red% = (BackColor& & $FFFF) & $FF
Green% = (BackColor& & $FFFF) >> 8
Blue% = (BackColor& >> 16) & $FFre>

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
 
XProfan X3, X4ß, Win 10.1
01/07/06  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

1.158 Views

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