Custom docking pane - still got black border lines |
Post Reply |
Author | |
cjrobindch
Groupie Joined: 29 July 2008 Status: Offline Points: 15 |
Post Options
Thanks(0)
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. thanks. - robin (http://www.acquirer.com) |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
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
CODEJOCK SOFTWARE SOLUTIONS |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |