Click here to Skip to main content
15,898,373 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Learning MFC Pin
Hamid_RT9-Feb-07 8:15
Hamid_RT9-Feb-07 8:15 
AnswerRe: Learning MFC Pin
Mark Salsbery9-Feb-07 8:20
Mark Salsbery9-Feb-07 8:20 
GeneralRe: Learning MFC Pin
Ravi Bhavnani9-Feb-07 8:48
professionalRavi Bhavnani9-Feb-07 8:48 
GeneralRe: Learning MFC Pin
led mike9-Feb-07 9:09
led mike9-Feb-07 9:09 
AnswerRe: Learning MFC Pin
Ravi Bhavnani9-Feb-07 8:53
professionalRavi Bhavnani9-Feb-07 8:53 
AnswerRe: Learning MFC Pin
Kevin McFarlane9-Feb-07 12:51
Kevin McFarlane9-Feb-07 12:51 
QuestionNeed help with all new type of control [modified] Pin
Daemon Black9-Feb-07 6:32
Daemon Black9-Feb-07 6:32 
AnswerRe: Need help with all new type of control Pin
James R. Twine9-Feb-07 8:06
James R. Twine9-Feb-07 8:06 
   Taking each problem separately, you can adjust the indent width with the TVM_SETINDENT message, which may help the display of deeper trees.

   If by you mean toggling visiblity, you mean removing an item and its subtree entirely, or just hiding its label and child items?  You might be able to get away with just collapsing the item, or you can even remove the entire subtree of necessary, adding it back and redrawing as necessary.

   Each tree item can have its own icon.  A little "Custom Draw" magic can be used to render additional visual information as well.

   Multiple selection can be simulated by using the TVIS_DROPHILITED item style (setting and later checking for it).

   There are a few articles here that talk about using a custom TreeView control, as well as one or two ways to use a ListView control as a multi-column tree control.

   Peace!

-=- James
Please rate this message - let me know if I helped or not!<HR>If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
See DeleteFXPFiles

GeneralRe: Need help with all new type of control Pin
Daemon Black9-Feb-07 8:40
Daemon Black9-Feb-07 8:40 
GeneralRe: Need help with all new type of control Pin
Daemon Black9-Feb-07 16:18
Daemon Black9-Feb-07 16:18 
Questionstarting an exe file in main() [modified] Pin
Maddack9-Feb-07 4:42
Maddack9-Feb-07 4:42 
AnswerRe: starting an exe file in main() Pin
jhwurmbach9-Feb-07 5:01
jhwurmbach9-Feb-07 5:01 
AnswerRe: starting an exe file in main() Pin
Waldermort9-Feb-07 5:22
Waldermort9-Feb-07 5:22 
AnswerRe: starting an exe file in main() Pin
Eytukan9-Feb-07 5:56
Eytukan9-Feb-07 5:56 
AnswerRe: starting an exe file in main() Pin
Hamid_RT9-Feb-07 6:02
Hamid_RT9-Feb-07 6:02 
AnswerRe: starting an exe file in main() Pin
Michael Dunn9-Feb-07 11:02
sitebuilderMichael Dunn9-Feb-07 11:02 
AnswerRe: starting an exe file in main() Pin
Sethuraman.K9-Feb-07 22:29
Sethuraman.K9-Feb-07 22:29 
QuestionChange layout for standard SaveAs dialog? Pin
bosfan9-Feb-07 3:09
bosfan9-Feb-07 3:09 
QuestionRe: Change layout for standard SaveAs dialog? Pin
David Crow9-Feb-07 3:14
David Crow9-Feb-07 3:14 
AnswerRe: Change layout for standard SaveAs dialog? Pin
bosfan9-Feb-07 3:30
bosfan9-Feb-07 3:30 
AnswerRe: Change layout for standard SaveAs dialog? Pin
James R. Twine9-Feb-07 3:23
James R. Twine9-Feb-07 3:23 
GeneralRe: Change layout for standard SaveAs dialog? Pin
bosfan9-Feb-07 3:31
bosfan9-Feb-07 3:31 
AnswerRe: Change layout for standard SaveAs dialog? Pin
Ravi Bhavnani9-Feb-07 3:26
professionalRavi Bhavnani9-Feb-07 3:26 
GeneralRe: Change layout for standard SaveAs dialog? Pin
bosfan9-Feb-07 3:59
bosfan9-Feb-07 3:59 
AnswerRe: Change layout for standard SaveAs dialog? Pin
Hamid_RT9-Feb-07 6:00
Hamid_RT9-Feb-07 6:00 

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.