Click here to Skip to main content
15,885,309 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i want to insert a small picture at the first of every item in List, when mouse move on the image ,the big image appear...tks
Posted
Updated 23-Jan-13 20:51pm
v3
Comments
Marius Bancila 26-Jan-13 16:25pm    
Are you using a list box or a list view? To display images in a list, you have to use an imagelist, and each time you add an item specify the index of the image in the imagelist. http://msdn.microsoft.com/en-us/library/f3wdxcd3(v=vs.80).aspx However, I don't understand where do you want the big image to appear.

What you want is to make the control a "user drawn" control. Ask Google for references. There will be many hits.
 
Share this answer
 
C#
#include<iostream.h>
using namespace std;

int main() {
  int x, y;
  cout<<"what is your height?"<<"\nyour feet: ";
  cin>>x;
  cout<<"your inches: ";
  cin>>y;
  cout<<"your height is: "<<x<<"'"<<" and "<<y<<"''";
  cout<<"\nYou are tall!";

  return 0;}
 
Share this answer
 
v2

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