Search

CMFCPropertySheet - RemovePage not working with PropSheetLook_OutlookBar by Matthias Roth

Closed
as Fixed Help for as Fixed

1
0
Sign in
to vote
Type: Bug
ID: 681771
Opened: 7/29/2011 1:51:15 AM
Access Restriction: Public
Moderator Decision: Sent to Engineering Team for consideration
0
Workaround(s)
0
User(s) can reproduce this bug
it is not possible to remove a PropertyPage when the look is set to PropSheetLook_OutlookBar.

-----

when a button is added the id is always 0.
if (m_wndPane1.GetSafeHwnd() != NULL)
{
HICON hIcon = m_Icons.ExtractIcon(nTab);
m_wndPane1.AddButton(hIcon, szTab, 0, -1, m_bAlphaBlendIcons);
::DestroyIcon(hIcon);
}

but the RemoveButton(UINT iIdCommand) - method needs a CommandID









Details (expand)

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

Visual Studio 2010 SP1

Steps to reproduce

description

Product Language

English

Operating System

Windows 7

Operating System Language

German (Austrian)

Actual results

Sheet/button not removed

Expected results

Sheet/button removed
File Attachments
File Name Submitted By Submitted On File Size  
NewControls.zip 7/29/2011 255 KB
Sign in to post a comment.
Posted by Microsoft on 10/25/2011 at 12:59 PM
Hello Matthias,

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-Moderator07 [Feedback Moderator] on 8/1/2011 at 11:17 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 Matthias Roth on 7/29/2011 at 3:53 AM
demo project added
Posted by MS-Moderator07 on 7/29/2011 at 2:53 AM
Thank you for submitting feedback on Visual Studio 2010 and .NET Framework. In order to efficiently investigate and reproduce this issue, we are requesting additional information outlined below.

Could you please give us a demo project to demonstrate this issue so that we can conduct further research?

Please submit this information to us within 4 business days. We look forward to hearing from you with this information.

Microsoft Visual Studio Connect Support Team
Posted by MS-Moderator01 on 7/29/2011 at 2:50 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.