Click here to Skip to main content
15,909,897 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralExporting Dialogs having ActiveX controls Pin
18-May-01 20:29
suss18-May-01 20:29 
GeneralDES help!! Pin
18-May-01 18:10
suss18-May-01 18:10 
GeneralToolbars in Rebar Control grayed out Pin
Juan Miguel Venturello18-May-01 12:53
Juan Miguel Venturello18-May-01 12:53 
QuestionHow can I get text under mouse pointer? Pin
18-May-01 9:40
suss18-May-01 9:40 
AnswerRe: How can I get text under mouse pointer? Pin
Igor Sukhov19-May-01 8:18
Igor Sukhov19-May-01 8:18 
GeneralI will try .Thanks ! Pin
19-May-01 9:47
suss19-May-01 9:47 
GeneralRe: I will try .Thanks ! Pin
Igor Sukhov19-May-01 11:52
Igor Sukhov19-May-01 11:52 
QuestionTree Controls _without_ image lists? Pin
Jim A. Johnson18-May-01 8:05
Jim A. Johnson18-May-01 8:05 
I've stumbled into a nasty limitation of tree controls.

I need to build a tree control that uses images from the system image list as well as my own custom images. (One branch of the tree will reference file objects in the system, and the other will reference my own objects.) I initially tried to do this by copying the entire system image list to my own image list, but alas, the system image list is dynamic, and may not have a particular icon in it unless I specifically request it. Well, I can't do tht on initialization, cause I don't know which icons I may need.

So now I'm looking at storing handles to the icons (along with other info) in the LParam for each tree node, and then using custom draw to draw the icon. However, this seems kludgy, and I'm not sure it's the best approach. Does anyone have suggestions?

TIA
AnswerRe: Tree Controls _without_ image lists? Pin
Tomasz Sowinski18-May-01 8:15
Tomasz Sowinski18-May-01 8:15 
GeneralRe: Tree Controls _without_ image lists? Pin
Jim A. Johnson18-May-01 9:25
Jim A. Johnson18-May-01 9:25 
GeneralRe: Tree Controls _without_ image lists? Pin
Tomasz Sowinski19-May-01 0:12
Tomasz Sowinski19-May-01 0:12 
GeneralPeer-to-Peer with Windows-Sockets Pin
18-May-01 5:25
suss18-May-01 5:25 
GeneralRe: Peer-to-Peer with Windows-Sockets Pin
18-May-01 6:50
suss18-May-01 6:50 
Generalcapture a rectangle in a static image and resize it in another window Pin
Frederico Levesque18-May-01 4:44
Frederico Levesque18-May-01 4:44 
GeneralRe: capture a rectangle in a static image and resize it in another window Pin
18-May-01 5:08
suss18-May-01 5:08 
GeneralClasses, new, delete, destructors Pin
José Luis Sogorb18-May-01 4:41
José Luis Sogorb18-May-01 4:41 
GeneralRe: Classes, new, delete, destructors Pin
James R. Twine18-May-01 4:50
James R. Twine18-May-01 4:50 
GeneralRe: Classes, new, delete, destructors Pin
José Luis Sogorb18-May-01 5:16
José Luis Sogorb18-May-01 5:16 
GeneralRe: Classes, new, delete, destructors Pin
James R. Twine18-May-01 8:32
James R. Twine18-May-01 8:32 
GeneralRe: Classes, new, delete, destructors Pin
José Luis Sogorb18-May-01 9:40
José Luis Sogorb18-May-01 9:40 
GeneralRe: Classes, new, delete, destructors Pin
James R. Twine18-May-01 10:14
James R. Twine18-May-01 10:14 
GeneralRe: Classes, new, delete, destructors Pin
José Luis Sogorb18-May-01 23:22
José Luis Sogorb18-May-01 23:22 
GeneralRe: Classes, new, delete, destructors Pin
James R. Twine19-May-01 2:16
James R. Twine19-May-01 2:16 
GeneralMailslot Problem Pin
18-May-01 4:27
suss18-May-01 4:27 
GeneralGeneral Question Pin
mr200318-May-01 4:11
mr200318-May-01 4:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.