Click to See Complete Forum and Search --> : How to freeze columns


Vladimir Milyaev
April 6th, 1999, 08:16 AM
Hi, all!
There is a problem to solve:
I have a view (CListView or CView w/CListCtrl - depends) in which I want to freeze one column at left side to scroll other part of list horizontally and vertically (frozen column also scrolls vertically).
How should I do it?
At first look, I can create yet another CListCtrl at the left side of view and syncronize its scrolling to main CListCtrl. But I donn't like this way.
Do you have some answers to this question?

Best regards, Bob.

Dave Lorde
April 6th, 1999, 09:47 AM
Look at the List Control area on this site for examples of fixed columns.

Dave

Vladimir Milyaev
April 6th, 1999, 09:57 AM
I didn't mean freeze size. I meant frozen column must be out from scrolling of other part of list.

Best regards, Bob.

Dave Lorde
April 6th, 1999, 10:01 AM
That's what I meant.

Did you look at "Stationary Columns" by Laura Michaels ?

It's there if you look.

Dave

Vladimir Milyaev
April 7th, 1999, 02:48 AM
Thanx. I've found.

Best regards, Bob.

IRICHTAR
August 2nd, 2004, 09:02 AM
Hi Bob,

i have the same problem like you. I want to freeze first n-columns in list control for scrolling. You founded any links in codeguru pages.
I tried to found them with no result.
Can you help me? Can you write me the link to this problem?

Thanks
Ivan