[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

CWndSplitter Border

Posted on 2000-04-19
2
Medium Priority
?
419 Views
Last Modified: 2013-11-20
I have made a splitter view with 4 views. I would like to know how to reduce to the minimum the border between each splitter.

Thank you for help
0
Comment
Question by:rgrand
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 3

Accepted Solution

by:
V_Bapat earned 200 total points
ID: 2730168
CSplitterWnd has two protected members m_cxBorder and m_cyBorder. Set their size to what you want. If you set them to zero, the splitter bar will no longer be visible.
Since these are protected, derive your class from CSplitterWnd and modify them in your derived class.
Example:
1. Derive a class from CSplitterWnd.
2. Add a function

void SetBarWidth(int x, int y)
{
   m_cxBorder = x;
   m_cyBorder = y;
}
3. After you create the splitter in the MainFrame, call
m_mysplitter.SetBarWidth(0, 0);


All the best.

Vicky

0
 

Author Comment

by:rgrand
ID: 2733971
No other comment, Excellent !
0

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question