Print Page | Close Window

Custom docking pane - still got black border lines

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
Printed Date: 15 August 2022 at 8:49pm
Software Version: Web Wiz Forums 12.04 -

Topic: Custom docking pane - still got black border lines
Posted By: cjrobindch
Subject: Custom docking pane - still got black border lines
Date Posted: 09 October 2008 at 8:58pm
Hi -

I've implemented a child class of CXTPDockingPaneOffice2003Theme to draw my own docking panels by overriding  DrawFloatingFrame() and DrawCaption().  This gives me exactly what I want outside the client area.

Inside the frame, though, there's a one-pixel black line on the left and top sides which I don't want.  When the pane is floated, there's an additional one-pixel border line on the left and right sides of the client area.

Here's what it looks like (you may have to zoom in to see the highlighted lines):

So, here's the question:

How do I remove the black line from the docked and floating states, and remove the additional borders from the floating state?  I'm looking for a clean, flat look here.


 - robin (

Posted By: Oleg
Date Posted: 10 October 2008 at 2:14am
Its not our border - its border of your Child window.  Check what styles it has and remove them - Guess its WS_EX_CLIENTEDGE - add
ModifyStyleEx(WS_EX_CLIENTEDGE, 0); in your child frame.

Oleg, Support Team

Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 -
Copyright ©2001-2021 Web Wiz Ltd. -