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

    Hiding Column in ListView

    Hello guys,

    I want to hide column in ListView.




  2. #2
    Join Date
    May 2000
    Location
    New York, NY, USA
    Posts
    2,878

    Re: Hiding Column in ListView

    Set its width to 0

    Iouri Boutchkine
    [email protected]
    Iouri Boutchkine
    [email protected]

  3. #3
    Join Date
    Jan 2002
    Posts
    3

    Re: Hiding Column in ListView

    but how i restrict Column resizing


  4. #4
    Join Date
    May 2000
    Location
    New York, NY, USA
    Posts
    2,878

    Re: Hiding Column in ListView

    On resize event set the desired columns to 0 again

    Iouri Boutchkine
    [email protected]
    Iouri Boutchkine
    [email protected]

  5. #5
    Join Date
    Oct 2001
    Posts
    11

    Re: Hiding Column in ListView

    Resizing can be done, but it causes the listview to flicker a lot while doing so. Any other options?


  6. #6
    Join Date
    Jan 2002
    Posts
    3

    Re: Hiding Column in ListView

    Hello guys,

    thx for your suggestion. I m writing code in VB and in VB ListView doesn't fire any event when Column is resize. To handle a event subclassing is required which i want to avoid.

    Any other suggestions...


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