Search

MFC feature pack: incorrect tool bar drawing for fixed tool bars (non-dockable) by Marc_75

Closed
as Fixed Help for as Fixed

1
0
Sign in
to vote
Type: Bug
ID: 641098
Opened: 2/3/2011 2:09:08 AM
Access Restriction: Public
0
Workaround(s)
0
User(s) can reproduce this bug
The left part of the tool bar is drawn incorrectly if a tool bar was told to be non-dockable and no MFC visual style manager has been set.
Furthermore, it would have been nice if the tool bar buttons were drawn more to the left in that case, as is the case if the MFC feature pack is not being used (using CToolBar instead of CMFCToolBar)
Details (expand)

Visual Studio/Silverlight/Tooling version

Visual Studio 2010

What category (if any) best represents this feedback?

Reliability

Steps to reproduce

just open up the following MFC sample:
\VC2010Samples\C++\MFC\Visual C++ 2008 Feature Pack\StatusBarDemo
comment out the following lines:

//CMFCVisualManager::SetDefaultManager (RUNTIME_CLASS (CMFCVisualManagerVS2005));
//m_wndToolBar.EnableDocking(CBRS_ALIGN_ANY);

Product Language

English

Operating System

Windows Vista

Operating System Language

English

Actual results

small piece of garbage at the left part of the toolbar and buttons are actually drawn too far to the right of no gripper is available to move the tool bar pane

Expected results

At least the left part should have drawn correctly.And it would be nice if the buttons could be drawn more to the left.
File Attachments
0 attachments
Sign in to post a comment.
Posted by Microsoft on 2/22/2011 at 3:26 PM
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 Microsoft on 2/3/2011 at 2:58 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.