Search

MDI Tabs Standard by Juan Foegen

Closed
as Fixed Help for as Fixed

1
0
Sign in
to vote
Type: Bug
ID: 650162
Opened: 3/8/2011 7:33:43 AM
Access Restriction: Public
0
Workaround(s)
0
User(s) can reproduce this bug
This problem can nicely produced with the MDITabs demo. If you select standard MDITabs and select a different window tab that will the active close button under your mouse, the window will close. So in a sense all that you are trying to do is select a new tab, but the MouseMove in the CMFCBaseTabCtrl does not care and sets the tabclosebuttonpressed flag the mouse up then closes the mdi window.
Details (expand)

Visual Studio/Silverlight/Tooling version

Visual Studio 2010

What category (if any) best represents this feedback?

Performance

Steps to reproduce

Open the MDITabs sample and select standard tabs (not tabbed groups) and make sure the activeclosebutton is turned on. The sample opens with 4 MDI windows. Notice where the close button is on the fourth tab and then select the third tab. Now click on the right edge of the fourth tab to make it active and you will see the fourth tab select and then close.

Product Language

English

Operating System

Windows 7

Operating System Language

English

Actual results

Closes the mdi tab when all I want to do is select the mdi window

Expected results

Make the selected mdi tab window active, but not close that mdi tab
File Attachments
0 attachments
Sign in to post a comment.
Posted by Microsoft on 3/16/2011 at 10:55 AM
Hello Juan,

Thanks for the report. This issue has been fixed in MFC for the next major release of Visual Studio.

Pat Brenner
Visual C++ Libraries Development
Posted by Microsoft on 3/8/2011 at 7:50 PM
Thanks for your feedback.

We are rerouting this issue to the appropriate group within the Visual Studio Product Team for triage and resolution. These specialized experts will follow-up with your issue.

Posted by Microsoft on 3/8/2011 at 8:13 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)
Sign in to post a workaround.