|
-
Apr 26th, 2000, 04:11 AM
#3
Thread Starter
New Member
Thanks, Wossname, for your reply.
I created an ImageList that was pre-set to 16x16 and added in my icons. And yes, the images displayed on the TreeView looked just fine . . . until I started dragging them about! Then, they flopped over to being 32x32 images that were created by scaling up the 16x16 images. In other words, they were ugly and blocky!
So, not wanting to waste more time on this than necessary (and why is it that the little niggling points, which comprise maybe 3% of an application, take 97% of the total development time to get right? <g>), I created a second ImageList, pre-set to 32x32, and populated it with the same exact icons and even assigned them the same exact Key names. Then, when it came time to drag around the icon, instead of using the CreateDragIcon command (or whatever it is; my brain isn't firing well at the moment), I assign the icon to the associated Picture from the other ImageList. Voila! The dragged icons look nice and clean, the miniature icons in the TreeView are acceptable, and I deemed it good. 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|