Solved

CHeaderCtrl and CCS_RIGHT

Posted on 2001-07-29
3
327 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
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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

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…
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.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

707 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now