Options Tree Dialog

optionstree.gif (5418 bytes)

This file is useful as an options dialog. There can be a lot of items and each has it's own group of controls.






Download Source - 25 KB



Comments

  • problem with custom control

    Posted by Legacy on 04/24/2002 12:00am

    Originally posted by: Robert Ruisl

    I dont now avoid the mistakes,when I use custom control at the dialog (inherited from CPropertyPage).
    Can you help me?Thanke you...

    Reply
  • Problems with the TAB-Key

    Posted by Legacy on 08/04/2001 12:00am

    Originally posted by: Thomas Faust

    The Focus jump from one Control to the next by hitting the TAB-key (and back with SHIFT-TAB).
    But only from the Tree to the Buttons and back or in the other case around the controls in the "inlay-dialog".

    If the Focus leave the tree i can set him to the "inlay-dialog". But i can set the focus back on the buttons, if the focus is around the controlls inside. (Specially if some controlls are disabled)

    Anybody have a solution?

    thx Thomas

    Reply
  • A very GOOD job!

    Posted by Legacy on 04/10/2001 12:00am

    Originally posted by: Tonino Ciucci

    I tried it. It works fine!

    Reply
  • Dialog Window styles are important

    Posted by Legacy on 07/30/2000 12:00am

    Originally posted by: Gene Sewell

    Nice code! (both useful and well done.)

    I converted an option dialog I had, with multiple property pages. However, I was confused by window behavior until I tuned in on dialog style options in the VS dialog editor.

    Each child dialog must have a window style of 'child.' If it's popup (and most of mine were) then the window will be created, but not embedded in the parent dialog.

    For some reason, many of my dialogs were also initially disabled (dialog style.) They were created, but unusable.

    The new dialogs obviously must be based on CPropertyPage.

    I haven't worked on help identifiers, but that's an important problem I'll have to solve. We have separate help IDs for each dialog box in the product.

    It took me a very short time to get mine converted, although the window style subtleties took me longer than it should have. I did it all (converted working propertysheet/page dialog to this) in about 3 hours, however, which isn't bad.

    Reply
  • Really cool... but...

    Posted by Legacy on 12/23/1998 12:00am

    Originally posted by: Mike Liss

    What if you have a page that is NOT the same size as all of the others?

    Is there a way to dynmically adjust the size of your dialog to fit
    the largest "tree dialog" ??

    Reply
  • Options Tree Dialog

    Posted by Legacy on 10/20/1998 12:00am

    Originally posted by: Asif Rashid

    I tested this technique, and it works. Good job by the Petr Stejskal.

    There is a point, which bother me two days. Don't forget to specify the Control property for Property Page Template. Otherwise all controls on it will be disabled.

    Reply
Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • Live Event Date: August 20, 2014 @ 1:00 p.m. ET / 10:00 a.m. PT When you look at natural user interfaces as a developer, it isn't just fun and games. There are some very serious, real-world usage models of how things can help make the world a better place – things like Intel® RealSense™ technology. Check out this upcoming eSeminar and join the panel of experts, both from inside and outside of Intel, as they discuss how natural user interfaces will likely be getting adopted in a wide variety …

  • Event Date: April 15, 2014 The ability to effectively set sales goals, assign quotas and territories, bring new people on board and quickly make adjustments to the sales force is often crucial to success--and to the field experience! But for sales operations leaders, managing the administrative processes, systems, data and various departments to get it all right can often be difficult, inefficient and manually intensive. Register for this webinar and learn how you can: Align sales goals, quotas and …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds