Click here to Skip to main content
15,890,947 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hello..i have added images in the listview control in thumbnail format...i want to change brightness of the checked images in the listview using trackbar...can someone tell me code for dat ..pls help
thnks

//this is code for looping through the listview and finding out checked images.After this how shud i carry on ?? :confused: //

listView1.LargeImageList = null;
ImageList imglist3 = new ImageList();
imglist3.ColorDepth = ColorDepth.Depth32Bit;

for(int i=0; i<listView1.Items.Count;i++)
{
if(listView1.Items[i].Checked)
{
Posted

1 solution

You'd be wanting some sort of brightness filter. As you say you're using Linux ( which explains why you use words like 'dat' ), I'm not sure exactly how you'd get direct pixel access, C++ has no knowledge of such things, they depend on the platform you're using. But I'd expect there would be free libraries you could use.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900