For Programmers: Free Programming Magazines  


Home > Archive > Smartphone Developer Forum > May 2005 > regarding bitmap









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author regarding bitmap
vishal

2005-05-23, 8:58 am

i wnat to add bitmap to background of virtual listview control.
how i can do it.

i use WM_PAINT of listview procedure,bitmap is added but over the items.
items cannot be visible

Please help me.

riki

2005-05-23, 8:58 am

vishal wrote:
> i wnat to add bitmap to background of virtual listview control.
> how i can do it.
>
> i use WM_PAINT of listview procedure,bitmap is added but over the items.
> items cannot be visible
>
> Please help me.
>


hmm, I don't KNOW the answer, but the things i'd try:
Try adding it to the dialog, or as a static picture control under the
listview. I suspect that wouldn't work.
Failing that, then I would do a custom draw, which is when you draw each
item yourself. see WM_DRAWITEM in the SDK help and have a google on it.

riki


"Where time or intelligence are lacking, a goto may do the job." -- M.E.
Hopkins, "A Case for the GOTO," 1972.
By Night:
ThemeChanger for Smartphone : http://homepages.inspire.net.nz/~gambit/
AbstractStart for Smartphone :
http://homepages.inspire.net.nz/~gambit/AbstractStart/
By Day: http://www.EmbeddedFusion.com
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com