1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

MFC VC++ Tree Control with Checkboxes problem!!!HELP me..

Discussion in 'Software Development' started by rohitdivas, May 30, 2003.

Thread Status:
Not open for further replies.
  1. rohitdivas

    rohitdivas Thread Starter

    Joined:
    May 30, 2003
    Messages:
    1
    Dear All,

    I am developing an application in which I require a "tree control with checkboxes".
    The structure of tree control is as:

    Main_Root
    Child_1
    Child_2
    Child_3
    Child_4
    Child_5
    Child_6

    ie. simple tree having one main root and having many child items.

    I have two problems related to it.

    1)
    All child items should be checked to TRUE whenever we click 'root' checkbox and vice-versa. How to proceed for it ???????

    I mean to say that which event should I capture for this.( ie. TVN_SELCHANGING )

    (I am sending my function along with this query. This function is used to check all the items present under one root )
    2)
    Is there any way to disable a particular check-box in tree control.

    Thanks in advance.
     

    Attached Files:

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/136583

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice