CTreeCtrl problems...
-
How can I get an existing CTreeCtrl to display the +- box to the left of the name? The reason I say existing is that I placed it on the form for the dialog box, and didn't explicitly call create. How do I modify the settings of it? Also, I attached a image list to the tree, but I can't get them to have transparent edges (around the image). I've tried attaching a mask, but it just won't do it. Obviously I am doing things I've never had to do before :) This tree thing is driving me nuts... Programming in binary is as easy as 01 10 11.
-
How can I get an existing CTreeCtrl to display the +- box to the left of the name? The reason I say existing is that I placed it on the form for the dialog box, and didn't explicitly call create. How do I modify the settings of it? Also, I attached a image list to the tree, but I can't get them to have transparent edges (around the image). I've tried attaching a mask, but it just won't do it. Obviously I am doing things I've never had to do before :) This tree thing is driving me nuts... Programming in binary is as easy as 01 10 11.
TVS_HASBUTTONS and just to make it look better add TVS_HASLINES and also TVS_LINESATROOT Nish Bow wow wow, Yippee yo yippee yay, My miniputt high, Is now 30 yay.
-
TVS_HASBUTTONS and just to make it look better add TVS_HASLINES and also TVS_LINESATROOT Nish Bow wow wow, Yippee yo yippee yay, My miniputt high, Is now 30 yay.
You are my hero for the day. I have been playing with this thing for hours :) What about the images though? I have them in a CImageList, and I've tried using the GetImageInfo and adding a mask to IMAGEINFO::hbmMask variable, but it doesn't seem to do anything... Right now I've made my tree background black and my text white so I don't have to look at the black boarder around the images :) And I just don't want to keep it that way... Programming in binary is as easy as 01 10 11.
-
You are my hero for the day. I have been playing with this thing for hours :) What about the images though? I have them in a CImageList, and I've tried using the GetImageInfo and adding a mask to IMAGEINFO::hbmMask variable, but it doesn't seem to do anything... Right now I've made my tree background black and my text white so I don't have to look at the black boarder around the images :) And I just don't want to keep it that way... Programming in binary is as easy as 01 10 11.