Print Page | Close Window

Office 2013 White auto-hide panel clipping images

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=22612
Printed Date: 16 April 2024 at 12:29am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Office 2013 White auto-hide panel clipping images
Posted By: rdhd
Subject: Office 2013 White auto-hide panel clipping images
Date Posted: 28 May 2015 at 9:19am
I have set the m_bRotateImageOnVerticalDraw for the panel paint manager to FALSE. When the panel draws, the icons are all shifted up by one pixel. Hence we see two anomalies. The first is that the top docking pane icon is slightly clipped by the frame. Second, whichever pane is "active" (displays when unpinned), the blue highlighting and icon when drawn on the auto-hide panel don't quite line up. They are off by one pixel so that the top of the icon draws a pixel above the highlight strip.

I found that I need to set the paint manager's m_rcButtonTextPadding.left = 1

At first I set the .top to 1 thinking that made sense but perhaps the rotate flag causes left to become the correct member to set (sort of unexpected but it is what it is.)

Setting left to 1 keeps the PM from clipping the highest icon and lets the selected/highlighted pane entry in the auto hide panel align the image and blue highlight strip.

This is with the 16.3 toolkit so perhaps this is fixed as it does look like a bug to me.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net