I'm currently working on a project in vb6. I have to display icons in the form.
I use DrawIcon(pictur ebox1.hDC,0,0,h Icon) API to draw the icon into the picture box. As image box does'nt have hDC property i cannot draw icon into it.
Now i want to reduce the size of the picture box proportionately ,but as the picture box does'nt have stretch property the icon seems to be cropped.
What do i do now?Any ideas?
I use DrawIcon(pictur ebox1.hDC,0,0,h Icon) API to draw the icon into the picture box. As image box does'nt have hDC property i cannot draw icon into it.
Now i want to reduce the size of the picture box proportionately ,but as the picture box does'nt have stretch property the icon seems to be cropped.
What do i do now?Any ideas?
Comment