Results 1 to 3 of 3

Thread: DragIcon too big!

  1. #1

    Thread Starter
    PowerPoster BruceG's Avatar
    Join Date
    May 2000
    Location
    New Jersey (USA)
    Posts
    2,657
    I'm sure this is an easy one for you gurus out there.

    I've got a treeview where the associated imagelist has 16x16 icons. When I load the tree, the icons are the right size and everything looks beautiful.

    However, when I want to drag a node, I set the tree's DragIcon to the appropriate image in the imagelist, then do the BeginDrag. Well, the dragicon is too big. Ideally, I'd like to be the same size as is displayed in tree.

    Thanks in advance for your help.

  2. #2
    New Member
    Join Date
    May 2000
    Posts
    15
    >>I'm sure this is an easy one for you gurus out there.<<

    I have never heard of a solution to this issue. The only work around I have heard about is to draw 16x16 images in a 32x32 bitmap and make the outer edge transparent. There's always a price to pay with VB.

    Good luck.

  3. #3

    Thread Starter
    PowerPoster BruceG's Avatar
    Join Date
    May 2000
    Location
    New Jersey (USA)
    Posts
    2,657
    Thanks for responding. I'll see if I can do this.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width