CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Apr 1999
    Posts
    14

    How to freeze columns

    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.

  2. #2
    Join Date
    Apr 1999
    Posts
    383

    Re: How to freeze columns

    Look at the List Control area on this site for examples of fixed columns.

    Dave


  3. #3
    Join Date
    Apr 1999
    Posts
    14

    Re: How to freeze columns

    I didn't mean freeze size. I meant frozen column must be out from scrolling of other part of list.

    Best regards, Bob.

  4. #4
    Join Date
    Apr 1999
    Posts
    383

    Re: How to freeze columns

    That's what I meant.

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

    It's there if you look.

    Dave


  5. #5
    Join Date
    Apr 1999
    Posts
    14

    Re: How to freeze columns

    Thanx. I've found.

    Best regards, Bob.

  6. #6
    Join Date
    Aug 2004
    Location
    Germany
    Posts
    2

    Link ???

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured