pinpointing toolwindow

Docking/MDI for Windows Forms Forum

Posted 14 years ago by tobias weltner
Avatar
I wrote about this "flash"-effect earlier that occurs when I pinpoint an autohide tool window.
I now noticed that when I click on the "pin" (either pinning or detaching), for some reason the first menu entry in my main menu is selected.
So I assume the "flash" effect really is related to this menu which seems to be activated for a short period of time.
However, when I put a breakpoint into the menu handler, it never fires.

If I select my document, then click on the "pin" of a pinpointed tool window, the window will autohide and the first menu entry is selected.
???

Is there anything I can do to track this down?

Comments (4)

Posted 14 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Are you using a third-party menu system? If so, I wonder if focus is briefly transferring up to the menu while the tool window is hidden and redisplayed and the menu is showing that.


Actipro Software Support

Posted 14 years ago by tobias weltner
Avatar
I use the VS2005 menustrip.

Actually, I just reproduced the problem.
Create a VS 2005 project.
Add a menustrip, toolstip, statusstrip and add standard items
Add dockmanager
Add toolwindow, dock it at right margin and make it Autohide

Run the app.

Once you pinpoint it or even scroll out/in, the File menu is selected.
Strange, huh?
Posted 14 years ago by Boyd - Automated Software Testing Consultant / Developer, Patterson Consulting, LLC
Avatar
I see the same behavior in the sample app when running VS2005b2 (not sure about VS2003).

1) Open Sample App for UIStudio
2) Select "Dock Controls" sample
3) Un-pin the "Welcome to UIStudio" ToolWindow on the top-left
4) After the ToolWindow slides away, you'll notice that the first toolbar button is drawn as if it has focus (assuming you didn't accidentally hover over any toolbar buttons after you hide the toolwindow)
Posted 14 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Today's maintenance release has the fix for this bug.


Actipro Software Support

The latest build of this product (v2018.1 build 0341) was released 6 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.