Listview background image |
Post Reply |
Author | |
ijwelch
Senior Member Joined: 20 June 2006 Status: Offline Points: 262 |
Post Options
Thanks(0)
Posted: 14 September 2009 at 8:00am |
In response to post https://forum.codejock.com/forum_posts.asp?TID=15138
Sample show how to add background image to Codejock Listview control. There's not too much code - just a few constants and declares and one small sub. Alpha images are not working well due to the custom drawing done by Codejock. Also, it's not possible to subclass the WM_PAINT message and process it before Codejocks painting is done so all my efforts with alpha came to nothing. Anyway, if you want background image and are either (A) satisfied to hard code the listview backcolor and fake alpha or (B) not use alpha images, then everything seems fine. Tested working ok in Win98 and WinXP. 20090914_075743_ListView_Back_I.zip |
|
ExtremeSuitePro 12.1.1
WinXP SP3 |
|
Kresha7
Newbie Joined: 14 June 2009 Status: Offline Points: 8 |
Post Options
Thanks(0)
|
Great Post thanks man that was what i was looking for i hope the CodeJock Stuff add a Image Propertie to Listview
|
|
menegrete
Newbie Joined: 17 November 2010 Status: Offline Points: 3 |
Post Options
Thanks(0)
|
Hello! great example!
I'm having only one issue here: I want the background not tiled and with the image at the lower right corner of the listview. This can be done with the offset parameters, but... when I scroll the listview, the image scrolls too!!!! Is there any way to avoid this? Thanks in advance. Martin
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |