Tree Control

This is a discussion on Tree Control within the Windows Programming forums, part of the Platform Specific Boards category; Im trying to use a tree contol Ive been told to do this GetTreeCtrl& tree = GetTreeCtrl(); Then do tree.??? ...

  1. #1
    Registered User
    Join Date
    Feb 2002
    Posts
    2

    Tree Control

    Im trying to use a tree contol


    Ive been told to do this
    GetTreeCtrl& tree = GetTreeCtrl();


    Then do
    tree.???


    But it keeps saying unidentifiied character
    on that line it's refering to the address of but that's the way the book has it


    Is there another way for getting the handle


    Anyone

  2. #2
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,139
    GetTreeCtrl& tree = GetTreeCtrl();

    That need to be a variable type that matches the returnvalue of GetTreeCtrl.

    CTreeCtrl& tree = GetTreeCtrl();
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

  3. #3
    Registered User
    Join Date
    Feb 2002
    Posts
    2
    Can you be more specific

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Interpreter.c
    By moussa in forum C Programming
    Replies: 4
    Last Post: 05-28-2008, 05:59 PM
  2. Binary Search Trees Part III
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 10-02-2004, 03:00 PM
  3. Request for comments
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 15
    Last Post: 01-02-2004, 09:33 AM
  4. Tab Controls - API
    By -KEN- in forum Windows Programming
    Replies: 7
    Last Post: 06-02-2002, 09:44 AM
  5. BST/Red and Black Tree
    By ghettoman in forum C++ Programming
    Replies: 0
    Last Post: 10-24-2001, 10:45 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21