English
Forum

Alphamaske an icon in a Image List contuse

 

Jac
de
Lad
The following trouble:

the Icon in the attachment can I wonderful in a Imagelist loading and so works. too The Transparenzfarbe becomes wonderful into Backgroundcolor transformed. only unfortunately has the Icon utterly hässliche Kanten, what on it lying, that The Alphamaske not loaded becomes. the sees one in Explorer (under Win2000 tested). programs How XnView loading but the Alphamaske and show it with beautiful soften Rändern on. possibly is it means and the Alphamaske is too present (with @Icon Sushi tested). and as far as i know is it too possible The mask into Imagelist To loading. has someone ne idea How the goes? I have already everything ausprobiert, be but not fündig become.

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




Jac
de
Lad
and here the Icon...habs naturally forget.

2 kB
Hochgeladen:01/08/08
Downloadcounter121
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/08/08  
 



not that I hierbei somehow ne Idea have but I behaute the channel becomes loaded and displayed, however only with the incorrect colour gefiltert. Haste time Screenshot? I faith it must hold somehow The Backgroundcolor indicated go which for the Filtern einzubeziehen is. might his that this one Brush his must because, if I z.B. with Drawicon one Icon on hWnd draw then becomes the Icon correctly with Antialias drawn.

As I said, one Screenshot would here helpful.
 
01/08/08  
 




Jac
de
Lad
Icons can of Nature a Transparenzfarbe own. These becomes then by the Backgroundcolor supplant. How in the Screenshot (Toolbar, 2. Icon of right). but the edge remaining. The Transparenzmaske has 8 bit and therefore a Antialiasingeffekt. becomes but even not displayed. attempt time the Icon in XnView or so To loading, there you see whom Difference.

129 kB
Hochgeladen:01/08/08
Downloadcounter152
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/08/08  
 



Jaja, I know what you mean the effect is me completely clear. Perhaps missing the Parent one Brush or so - this is but only a supposition.
 
01/08/08  
 




Jac
de
Lad
Tja, if I the know...
 
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/08/08  
 




Andreas
Miethe


Tja, by me GEHTS
CompileMarkSeparation
 $H windows.ph
 $H commctrl.ph
 $H ShellApi.ph

Proc GetSmallSysImageList

    Declare file$,fileinfo$,result&
    file$= Info.Ico
    fileinfo$ = Space$(352)
    result&= ~SHGetFileInfo(addr(file$),0,addr(FileInfo$),352,$04102)
    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/08/08  
 




Jac
de
Lad
falser Thread. The Tabgeschichte is already past.
 
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/08/08  
 




Andreas
Miethe


Ne, is already correctly., I have only whom View source abused.

here however, a example ( too with TAB)

Möglicherweise resolve these row your trouble ?

Var IL& = ~Imagelist_Create(32,32,~ILC_MASK | ~ILC_COLOR32,1,1)
CompileMarkSeparation
 $H windows.ph
 $H commctrl.ph
 $H ShellApi.ph
Var IL& = ~Imagelist_Create(32,32,~ILC_MASK | ~ILC_COLOR32,1,1)
Var Ico& = ~LoadImage(0,Info.ico,~IMAGE_ICON,0,0,~LR_LOADFROMFILE)
~ImageList_AddIcon(IL&,Ico&)
DeleteObject Ico&
~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 = 0IconIndex
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/08/08  
 




Jac
de
Lad
Mach time a Screenshot, I get very the To see, I bemängel.
 
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/08/08  
 




Andreas
Miethe


OK !

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




Jac
de
Lad
 
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/08/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

2.259 Views

Untitledvor 0 min.
H.Brill11/07/23
Rainer Hoefs06/26/23
Jörg Sellmeyer06/24/18
Georg Teles02/15/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