Alaska Software Inc. - XBPSYSCLR_TRANSPARENT
Username: Password:
AuthorTopic: XBPSYSCLR_TRANSPARENT
AUGE_OHRXBPSYSCLR_TRANSPARENT
on Mon, 10 May 2010 14:46:45 +0200
Joe Carrick Re: XBPSYSCLR_TRANSPARENT
on Mon, 10 May 2010 06:11:02 -0700
Hi Jimmy,

This might give you some idea:

 the following Define can only be applied to a XbpIWindow
#define XBPSYSCLR_TRANSPARENT              (-255)

after searching i found in some VB/ C# Forum
#define CLR_NONE  0xFFFFFFFF


-Joe


AUGE_OHR wrote:
> hi,
>
> i try to use XBPSYSCLR_TRANSPARENT with Listview from MsComCtl.OCX.
>
> Listview does have Methode :ForeColor and :BackColor.
> Both work fine with GRA_CLR_* > 0, but fail with XBPSYSCLR_TRANSPARENT
>
>
> after searching i found in some VB/ C# Forum
> #define CLR_NONE  0xFFFFFFFF
>
> which seem to work using
> SendMessageA(hList,LVM_SETTEXTBKCOLOR , 0, CLR_NONE )
> and
> SendMessageA(hList,LVM_SETBKCOLOR     , 0, CLR_NONE )
>
>
> so why does XBPSYSCLR_TRANSPARENT fail, but CLR_NONE work ?
>
> greetings by OHR
> Jimmy
>
>
>
>
>