Print Page | Close Window

splitter borders

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=14679
Printed Date: 22 June 2025 at 5:07am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: splitter borders
Posted By: securigy
Subject: splitter borders
Date Posted: 03 July 2009 at 5:05am
I am getting splitters drawn as in the attached picture "Split Borders.bmp" they are 3D from one side. My goal is to get "Outlook2003-style borders" (also see the picture). What am I missing here? I use for all 3 splitters:

m_wndSplitter.EnableFlatLook(TRUE);

m_wndSplitter1.EnableFlatLook(TRUE);

m_wndSplitter2.EnableFlatLook(TRUE);

and also tried:
 

m_wndSplitter1.SetSplitterStyle(XT_SPLIT_NOFULLDRAG | XT_SPLIT_NOSIZE);// | XT_SPLIT_NOBORDER);

with and without XT_SPLIT_NOBORDER...
 
Do I need to do something to be set with the Theme?
 



Replies:
Posted By: Oleg
Date Posted: 06 July 2009 at 1:19am
Hi,
Are you sure its not static frame around your window ?


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: securigy
Date Posted: 06 July 2009 at 10:28am

On the right of my splitter is a frame window that is also split into 2 (caption and lower part). The lower part is form view derived from

CXTResizeFormView. May be when creting this form view by default used static frame style border - I do not use any flags explicitely... I create this form view with new() and then Create.



Posted By: znakeeye
Date Posted: 07 July 2009 at 3:03am
CYourView::PreCreateWindow(...)
{
    cs.exStyle  &= ~WS_EX_STATICEDGE;
    cs.exStyle  &= ~WS_EX_CLIENTEDGE; // If above is not enough.
    ...
}


-------------
PokerMemento - http://www.pokermemento.com/


Posted By: securigy
Date Posted: 09 July 2009 at 10:50pm
It worked when I added to the parent of CMyView, that is, to the frame window as well.



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