Treeview examples.

This is a discussion on Treeview examples. within the Windows Programming forums, part of the Platform Specific Boards category; I have never made a treeview control. I've played with some MS code but not much luck. Google wasn't much ...

  1. #1
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,701

    Exclamation Treeview examples.

    I have never made a treeview control. I've played with some MS code but not much luck. Google wasn't much help either (MFC rules, apparently). So I am looking for a simple example of creating a treeview from the ground up. Any help would be appreciated!

    [edit]

    Ok, the main problem was that I wasn't using the TVS_HASLINES, TVS_HASBUTTONS, and TVS_LINESATROOT styles. Without those, even double-clicking an item wouldn't show the children. So that's settled. Still any examples would be appreciated.

    [/edit]



    [2nd edit]

    I've got just about every detail worked out now (except how to delete this thread ). Only examples on the 'finer points' of treeviews would be of much help at this point. Sidenote:
    Ever notice how adept MS is at crafting completely unwieldy API's? Kudos, Bill!

    [/2nd edit]
    Last edited by Sebastiani; 09-22-2003 at 01:09 AM.
    Code:
    bool flip(bool value)
    {
        return std::pow(std::exp(1), std::complex<float>(0, 1) 
        * std::complex<float>(std::atan(1)*(1 << (value + 2))))
        .real() < 0;
    }

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Windows - how to get started... examples don't help
    By nonoob in forum Windows Programming
    Replies: 6
    Last Post: 09-26-2008, 05:45 AM
  2. Thread Pool libraries or examples
    By Mastadex in forum Windows Programming
    Replies: 6
    Last Post: 08-24-2008, 08:58 PM
  3. TreeView and Database
    By x64 in forum C# Programming
    Replies: 2
    Last Post: 01-14-2007, 06:42 PM
  4. Treeview Custom Draw
    By mobazr in forum Windows Programming
    Replies: 1
    Last Post: 06-21-2005, 02:51 AM
  5. Problem showing item in TreeView
    By Garfield in forum Windows Programming
    Replies: 4
    Last Post: 03-18-2004, 12:58 AM

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