Re: LVM_GETBKCOLOR returns -1
From: Gili (sittingduck_at_bbs.darktech.org)
Date: 04/26/04
- Next message: Gili: "Painting to Progman desktop"
- Previous message: vipin: "Re: glyph index to character code"
- In reply to: Timo Kunze: "Re: LVM_GETBKCOLOR returns -1"
- Messages sorted by: [ date ] [ thread ]
Date: 26 Apr 2004 15:42:09 -0700
Timo Kunze <TKunze71216@gmx.de> wrote in message news:<OFqO2h7KEHA.3944@tk2msftngp13.phx.gbl>...
> The SysListView32 class supports background images, so it's probably the
> listview that is drawing the wallpaper.
> Also MSDN says the following for LVM_SETBKCOLOR:
> Background color to set or the CLR_NONE value for no background color.
> List-view controls with background colors redraw themselves
> significantly faster than those without background colors.
>
> HTH
> Timo
Thanks Timo,
FYI: What I actually saw is that unless LVM_GETBKCOLOR returned a
solid color (i.e. anything but -1) then the image specified by
LVM_GETBKIMAGE would keep on getting clobbered by the Program Manager
background. When LVM_GETBKCOLOR returned 1 (black), the image
specified by LVM_GETBKIMAGE would draw just fine.
Gili
- Next message: Gili: "Painting to Progman desktop"
- Previous message: vipin: "Re: glyph index to character code"
- In reply to: Timo Kunze: "Re: LVM_GETBKCOLOR returns -1"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|