English
Forum

Transparente Icons in TabControl go wrong

 

Jac
de
Lad
unfortunately functions The transparency of Icons of course in the TabControl, however does it (at least by me) completely moreover, because as Füllfarbe white taken becomes, in lieu of whom gray, what it really his ought to. knows someone a remedy?
 
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/07/08  
 



Screenshot?
 
01/07/08  
 




Jac
de
Lad
Windows 2000. otherwise functions The transparency too wonderful, even exakt whom Icons (see Treeview. is of course not To discern, but the transparency there is spotless). in the Endeffekt becomes at TabControl only The incorrect Color GetSysColor red.

90 kB
Hochgeladen:01/07/08
Downloadcounter182
Download
 
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/07/08  
 




RGH
Poste still time whom Source. then can I time look, whether I a Solution find.
 
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
01/07/08  
 




Andreas
Miethe


Versuchs time so !
this is one simple example with of/ one Image List, The a transparenten background has.
CompileMarkSeparation
 $H windows.ph
 $H commctrl.ph
 $H ShellApi.ph

Proc GetSmallSysImageList

    Declare file$,fileinfo$,result&
    file$=C:Par$(0)
    fileinfo$ = Space$(352)
    result&= ~SHGetFileInfo(addr(file$),0,addr(FileInfo$),352,$04101)
    Return result&

EndProc

zum Testen einfache Imagelist anlegen
Var IL& = GetSmallSysImageList()
~ImageList_SetBkColor(IL&,~CLR_NONE)Transparenter Hintergrund
Var TabText$ = Tabtext
Declare TC_ITEM#
Dim TC_ITEM#,28
Clear TC_ITEM#
Long TC_ITEM#,0 = ~TCIF_TEXT | ~TCIF_IMAGE
Long TC_ITEM#,4 = 0
Long TC_ITEM#,8 = 0
Long TC_ITEM#,12 = Addr(TabText$)
Long TC_ITEM#,16 = Len(TabText$)
Long TC_ITEM#,20 = 4IconIndex
Long TC_ITEM#,24 = 0
cls
Var Tab& = Create(TabCtrl,%hwnd,,10,10,300,300)
Sendmessage(Tab&,~TCM_DELETEITEM,0,0)
SendMessage(Tab&,~TCM_SETIMAGELIST,0,IL&)
SendMessage(Tab&,~TCM_INSERTITEM,0,TC_ITEM#)
waitinput
Dispose TC_ITEM#
end
 
Gruss
Andreas
________ ________ ________ ________ _
Profan 3.3 - XProfanX2
Win 95,98,ME,2000,XP,Vista - Win 7 32 / 64 Bit
ASUS X93S - Intel Core I7-NVIDIA GForce 540M 8GB Arbeitsspeicher
Homepage :  [...] 
01/07/08  
 




Jac
de
Lad
Jo.

I use but Tabcontrols without windows-XP-Style, because otherwise The Textfields and so sch**** looks. and there becomes the background nevertheless white.

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/07/08  
 




Jac
de
Lad
well cool, I Have your Source time adjusted in puncto SetWindowTheme and It's all right...
 
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/07/08  
 




RGH
there sees by me transparent from.

Greeting Roland

19 kB
Hochgeladen:01/07/08
Downloadcounter168
Download
 
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
01/07/08  
 




Andreas
Miethe


I have too no XP_Theme by me tuned ( always classic ). game too no role whether with or without Theme,
by me is the Icon always transparent !
 
Gruss
Andreas
________ ________ ________ ________ _
Profan 3.3 - XProfanX2
Win 95,98,ME,2000,XP,Vista - Win 7 32 / 64 Bit
ASUS X93S - Intel Core I7-NVIDIA GForce 540M 8GB Arbeitsspeicher
Homepage :  [...] 
01/07/08  
 




Jac
de
Lad
Ahhhh, following row has me helped:
CompileMarkSeparation
but however one hereon come should...

Vielen Thanks Andreas.

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/07/08  
 




Jac
de
Lad
Ah, now see I eure Posts. here hats something durcheinandergewürfelt.

Jo, now works fine. the Result is tomorrow early over The Updatefunktion of Gamsav accessible.
 
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/07/08  
 




RGH
Dass with the XProfan 11s11 not yet always functions, lying on it, that in special situations The Backgroundcolor not CLR_NONE staid becomes. (to that example, if one The Imagelist without Bitmap created and then Icons hinzufügt.) This will in the next Version korrigiert his. Also works then too with voller Color Depth with whom Images!

Greeting
Roland
 
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
01/07/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

4.583 Views

Untitledvor 0 min.
Sven Bader03/13/23
Jörg Sellmeyer06/22/18
Andre Rohland01/06/15
Uwe Lang09/02/12
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