?
Solved

CHeaderCtrl and CCS_RIGHT

Posted on 2001-07-29
3
Medium Priority
?
339 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 400 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 400 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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 …
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Suggested Courses
Course of the Month11 days, 11 hours left to enroll

752 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