Solved

CHeaderCtrl and CCS_RIGHT

Posted on 2001-07-29
3
338 Views
Last Modified: 2013-11-20
I want to make a spread sheet program so cells appears from right to left and i want to use CheaderCtrl class to add rows and columns headers...
I suceded in using the CHeaderCtrl class to show the column headers at the top of the window....
but i cann't add the rows header in the right side of the window...i used the CCS_RIGHT in CheaderCtrl::create(...)but it won't work..can any one help me???
0
Comment
Question by:amer_f
[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
3 Comments
 
LVL 12

Accepted Solution

by:
migel earned 100 total points
ID: 6331011
Hello!
As I know MS doesn`t include this feature to the header control. To show vertical bar you have to write such class manually.
0
 
LVL 49

Assisted Solution

by:DanRollins
DanRollins earned 100 total points
ID: 6333101
You cal easily color the rightmost column subitems with a bacjground color that matches the headers, but you will need to handle clicks on those items (and other "row header-type" actions youself.

To see how to set the background color of items in the grid, see:

http://www.codeguru.com/mfc/comments/14348.shtml

If you need help, just describe your needs here.

-- Dan
0
 
LVL 23

Expert Comment

by:Roshan Davis
ID: 9490573
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Answered by : migel, DanRollins (points to be split)

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Roshan Davis
EE Cleanup Volunteer
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
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.
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…

688 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