![]() |
splitter borders |
Post Reply
|
| Author | |
securigy
Groupie
Joined: 23 November 2007 Status: Offline Points: 41 |
Post Options
Thanks(0)
Quote Reply
Topic: splitter bordersPosted: 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
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 06 July 2009 at 1:19am |
|
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 |
Post Options
Thanks(0)
Quote Reply
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. |
|
![]() |
|
znakeeye
Senior Member
Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
Quote Reply
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/
|
|
![]() |
|
securigy
Groupie
Joined: 23 November 2007 Status: Offline Points: 41 |
Post Options
Thanks(0)
Quote Reply
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.
|
|
![]() |
|
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 |