G
Guest
Got a custom container control that contains other custom subcontrols that
have a custom designer. The subcontrol's designer has a couple verbs that
fire off events that changes the order of that subcontrol in the parent
custom control. It's another version of the collapsible panel bar, where in
designer you can right click on a panel and move it up or down in the panel
bar. The problem I'm having is that when I move a panel, the UI cues don't
get updated. The panels will move, but the selection highlight will not move
with the panel. It appears that a different control is selected than
actually is. Clicking on a different panel will update the cues (except when
you click on the control that is highlighted incorrectly -- the cues already
indicate it is selected, so no change appears to have been made). I can't
find any information on how to refresh the cues. I've tried Invalidate and
Refresh in the custom container control, but they don't work. TIA.
have a custom designer. The subcontrol's designer has a couple verbs that
fire off events that changes the order of that subcontrol in the parent
custom control. It's another version of the collapsible panel bar, where in
designer you can right click on a panel and move it up or down in the panel
bar. The problem I'm having is that when I move a panel, the UI cues don't
get updated. The panels will move, but the selection highlight will not move
with the panel. It appears that a different control is selected than
actually is. Clicking on a different panel will update the cues (except when
you click on the control that is highlighted incorrectly -- the cues already
indicate it is selected, so no change appears to have been made). I can't
find any information on how to refresh the cues. I've tried Invalidate and
Refresh in the custom container control, but they don't work. TIA.