tags:

views:

120

answers:

0

ListView_SetBKImage is scrolling the back ground image also. Want a fixed back ground image and the contents should scroll over.

I am setting Backgroung image in LisTView by this code.

LVBKIMAGE bki= {0};   
bki.ulFlags =  LVBKIF_SOURCE_URL | LVBKIF_STYLE_NORMAL; /* | LVBKIF_TYPE_WATERMARK | LVBKIF_FLAG_ALPHABLEND*/
bki.pszImage=szBmpPath;
bki.xOffsetPercent = 100;
bki.yOffsetPercent = 100;
bki.cchImageMax = sizeof(bki.pszImage);
ListView_SetBkImage(m_hwndList,&bki);

Image is comming properly. But issue is that when we scroll(vertical/horizontal scroll bar) the listview content the image is also moving. Can any body sugget what i have to do so that only content move over scroll. Image should fixed in background.