![]() |
splitter borders |
Post Reply ![]() |
Author | |
securigy ![]() Groupie ![]() Joined: 23 November 2007 Status: Offline Points: 41 |
![]() ![]() ![]() ![]() ![]() 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?
![]() |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Are you sure its not static frame around your window ?
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
securigy ![]() Groupie ![]() Joined: 23 November 2007 Status: Offline Points: 41 |
![]() ![]() ![]() ![]() ![]() |
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. |
|
![]() |
|
znakeeye ![]() Senior Member ![]() ![]() Joined: 26 July 2006 Status: Offline Points: 1672 |
![]() ![]() ![]() ![]() ![]() |
CYourView::PreCreateWindow(...)
{
cs.exStyle &= ~WS_EX_STATICEDGE;
cs.exStyle &= ~WS_EX_CLIENTEDGE; // If above is not enough.
...
} |
|
PokerMemento - http://www.pokermemento.com/
|
|
![]() |
|
securigy ![]() Groupie ![]() Joined: 23 November 2007 Status: Offline Points: 41 |
![]() ![]() ![]() ![]() ![]() |
It worked when I added to the parent of CMyView, that is, to the frame window as well.
|
|
![]() |
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 |