Posted 18 years ago
by Chien A.

Hi, is there any reason why if you click over any area of a toolwindow that does not contain an editable control eg the 'Welcome to UIStudio' toolwindow in the dock controls demo, why the toolwindow does not become focused/activated? The only way to for it to receive focus is to click the titlebar of its toolwindowcontainter.
Another probably fairly common scenario would be to place a toolstrip within a toolwindow and adding a button to it. Clicking on this button will not bring the toolwindow into focus.
Is there something I am missing or is there a workaround for this? I am basically after the normal window behaviour of focusing the window (or in this case toolwindow) wherever/whatever is clicked on within it.
The only thing I could think of so far is handling click events to manually activate the parent toolwindow, but this might not always be possible.
Another probably fairly common scenario would be to place a toolstrip within a toolwindow and adding a button to it. Clicking on this button will not bring the toolwindow into focus.
Is there something I am missing or is there a workaround for this? I am basically after the normal window behaviour of focusing the window (or in this case toolwindow) wherever/whatever is clicked on within it.
The only thing I could think of so far is handling click events to manually activate the parent toolwindow, but this might not always be possible.