Search

CMFCButton proceeds mouse events in region covered by another MDI child window by Dminry_S

Closed
as Fixed Help for as Fixed

1
0
Sign in
to vote
Type: Bug
ID: 705542
Opened: 11/18/2011 1:24:45 AM
Access Restriction: Public
Moderator Decision: Sent to Engineering Team for consideration
0
Workaround(s)
0
User(s) can reproduce this bug
CMFCButton remains handle mouse events when mouse cursor moved from button onto another window (in region button's rectangle).
Details (expand)

Visual Studio/Team Foundation Server/.NET Framework Tooling version

Visual Studio 2010 SP1

Steps to reproduce

2 windows in application:
1. CFormView MDI child with CMFCButton.
2. Another MDI child window.

Place second window in position partialy cover CMFCButton.
Move mouse across CMFCButton in direction to border of second window.
When mouse cursor reaches second window border it remains an "Arrow" (not switches to a sizing cursor) and left button click lead to press CMFCButton.

If mouse moves astern (from second window through it's border and across CMFCButton) - all correct.

Product Language

Russian

Operating System

Windows XP

Operating System Language

Russian

Actual results

Button covered by second window is pressed.

Expected results

Second window proceeds mouse event.
File Attachments
File Name Submitted By Submitted On File Size  
t2.rar (restricted) 11/22/2011 -
Sign in to post a comment.
Posted by Microsoft on 12/6/2011 at 11:23 AM
Hello,

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 MS-Moderator08 [Feedback Moderator] on 11/20/2011 at 10:07 PM
Thank you for reporting this issue. Could you please attach a sample project to help us reproduce this issue?
Posted by MS-Moderator01 on 11/18/2011 at 1:48 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.