sTreeviewEx expand

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #37100
    mierlp
    Participant

    Hi

    I created a Framebar with several 'menus' based on a sTreeviewEX, see attachment

    The menu 'Modules' is very large and contains lots of items and sub-items.

    Is it possible when i click on the item 'Types' (second attachment) the the

    bar also sizes so that all items under 'Type' are showed and when i 'close' this

    item the bar resizes so it will Always fit.

    Regards Peter

    #55456
    Support
    Keymaster

    Hi

    Maybe you can try the standard TreeView_EnsureVisible function from Windows API?

    Code:
    TreeView_EnsureVisible(sTreeViewEx1.Handle, sTreeViewEx1.Items[12].ItemId);
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.