Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #3858 > unrolled thread

my Icons 32 bits are display in treeview in 8 bits

Started by"Ronny K. Rodrigues" <ronny@deltasge.com.br>
First post2012-07-25 17:51 -0700
Last post2012-07-26 07:49 +0100
Articles 5 — 4 participants

Back to article view | Back to comp.lang.clipper.visual-objects


Contents

  my Icons 32 bits are display in treeview in 8 bits "Ronny K. Rodrigues" <ronny@deltasge.com.br> - 2012-07-25 17:51 -0700
    Re: my Icons 32 bits are display in treeview in 8 bits "Dirk (Belgium)" <dirk.dot.herijgers@pbprojects.dot.be> - 2012-07-26 06:46 +0000
      Re: my Icons 32 bits are display in treeview in 8 bits ronny@deltasge.com.br - 2012-07-26 06:05 -0700
        Re: my Icons 32 bits are display in treeview in 8 bits "Dirk (Belgium)" <dirk.dot.herijgers@pbprojects.dot.be> - 2012-07-27 06:39 +0000
    Re: my Icons 32 bits are display in treeview in 8 bits malcolm gray <malcolm.gray@ntlworld.com> - 2012-07-26 07:49 +0100

#3858 — my Icons 32 bits are display in treeview in 8 bits

From"Ronny K. Rodrigues" <ronny@deltasge.com.br>
Date2012-07-25 17:51 -0700
Subjectmy Icons 32 bits are display in treeview in 8 bits
Message-ID<2fe22ba4-a0c4-428a-8fba-fc734564212d@googlegroups.com>
oImageList := ImageList{0, Dimension{16,16}, ILC_COLOR32}

oImageList:Add(APPL_ICON{})

oDCTreeView:ImageList := oImageList

[toc] | [next] | [standalone]


#3859

From"Dirk (Belgium)" <dirk.dot.herijgers@pbprojects.dot.be>
Date2012-07-26 06:46 +0000
Message-ID<juqp3u$1ve$1@dont-email.me>
In reply to#3858
Hi Ronny,

Try the following:
oImageList := ImageList{0, Dimension{16,16},, _OR(ILC_COLOR32,ILC_MASK)}
Attention: also look to the extra comma !!

Dirk

=================================

Ronny K. Rodrigues wrote:

> oImageList := ImageList{0, Dimension{16,16}, ILC_COLOR32}
> 
> oImageList:Add(APPL_ICON{})
> 
> oDCTreeView:ImageList := oImageList



-- 

[toc] | [prev] | [next] | [standalone]


#3864

Fromronny@deltasge.com.br
Date2012-07-26 06:05 -0700
Message-ID<7b3a5999-b343-4305-ab00-6d35c9881c53@googlegroups.com>
In reply to#3859
Em quinta-feira, 26 de julho de 2012 03h46min22s UTC-3, Dirk (Belgium)  escreveu:
> Hi Ronny,
> 
> Try the following:
> oImageList := ImageList{0, Dimension{16,16},, _OR(ILC_COLOR32,ILC_MASK)}
> Attention: also look to the extra comma !!
> 
> Dirk
> 
> =================================
> 
> Ronny K. Rodrigues wrote:
> 
> &gt; oImageList := ImageList{0, Dimension{16,16}, ILC_COLOR32}
> &gt; 
> &gt; oImageList:Add(APPL_ICON{})
> &gt; 
> &gt; oDCTreeView:ImageList := oImageList
> 
> 
> 
> --

Hi Dirk, the line:

oImageList := ImageList{0, Dimension{16,16},, _OR(ILC_COLOR32,ILC_MASK)} 

solved the problem.

Thank's  :-)

[toc] | [prev] | [next] | [standalone]


#3867

From"Dirk (Belgium)" <dirk.dot.herijgers@pbprojects.dot.be>
Date2012-07-27 06:39 +0000
Message-ID<jutd38$fr1$1@dont-email.me>
In reply to#3864
Ronny,

You're welcome...

Dirk

==============

ronny@deltasge.com.br wrote:

> Em quinta-feira, 26 de julho de 2012 03h46min22s UTC-3, Dirk
> (Belgium)  escreveu:
> > Hi Ronny,
> > 
> > Try the following:
> > oImageList := ImageList{0, Dimension{16,16},,
> > _OR(ILC_COLOR32,ILC_MASK)} Attention: also look to the extra comma
> > !!
> > 
> > Dirk
> > 
> > =================================
> > 
> > Ronny K. Rodrigues wrote:
> > 
> > &gt; oImageList := ImageList{0, Dimension{16,16}, ILC_COLOR32}
> > &gt; 
> > &gt; oImageList:Add(APPL_ICON{})
> > &gt; 
> > &gt; oDCTreeView:ImageList := oImageList
> > 
> > 
> > 
> > --
> 
> Hi Dirk, the line:
> 
> oImageList := ImageList{0, Dimension{16,16},,
> _OR(ILC_COLOR32,ILC_MASK)}
> 
> solved the problem.
> 
> Thank's  :-)



-- 

[toc] | [prev] | [next] | [standalone]


#3860

Frommalcolm gray <malcolm.gray@ntlworld.com>
Date2012-07-26 07:49 +0100
Message-ID<uM5Qr.172377$3s1.14671@fx12.am4>
In reply to#3858
On 26/07/2012 01:51, Ronny K. Rodrigues wrote:
> oImageList := ImageList{0, Dimension{16,16}, ILC_COLOR32}
>
> oImageList:Add(APPL_ICON{})
>
> oDCTreeView:ImageList := oImageList

What sizes/ bit depths are in the icon file?
Have you tried passing different options to the icon constructor
(you might be loading a larger bitmap then scaling it down for example)

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.clipper.visual-objects


csiph-web