Default selection of a selection tree
Posted 10 May 2005 - 19:51
For instance, if I am refreshing the dialog (really two dialogs which refresh by referring to each other, s1 -> s2, s2 -> s1) and I set property X linked to the selection tree shouldn't it "remember" it's selection?
FYI - I'm using WiX, the tag I have declared for the selection tree is:
<Control Id="Tree" Type="SelectionTree" X="5" Y="49" Width="175" Height="131" Property="BROWSEPROPERTY" Sunken="yes" TabSkip="no" Text="Tree of selections" />
Posted 11 May 2005 - 14:22
Posted 11 May 2005 - 14:25
Posted 11 May 2005 - 14:33
BTW when you click on a button (to switch to the other instance of the dialog) the focus would move to the button control anyway, or?
Posted 11 May 2005 - 14:47
I have a feature selection tree on the left, and a preview bitmap on the right. I want to show a different preview depending on which item was last clicked (focus and/or selection state if I could get to the tree control in a custom action). I tried subscribing to the SelectionDescription event to set the text attribute of the bitmap control, but that only works for the initial display and won't update it (unless I missed something). Currently I have a series of hidden bitmaps that are conditioned on a property that I set with the selection of the tree. I want the dialog to update and re-evaluate the conditions for these bitmaps. The only suggsetion that I've seen for this is to use 2 identical dialogs, but then I have to preserve the selection.