Results 1 to 2 of 2
  1. #1
    5 Star Lounger
    Join Date
    Jul 2001
    Location
    Terneuzen, Netherlands
    Posts
    895
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Preventing Listview column resize (VB6)

    I have a listview box on a form for which I calculate and set the width of the three columns at the time I populate the box (during program execution).

    After this, I want to prevent the user from resizing the column-widths. I'm sure I could trap the event and reset the width in the trap-routine each time but is there a simpler way to prevent resizing?

    Thanks,

    Erik Jan

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Preventing Listview column resize (VB6)

    Probably takes Windows API functions to do it. See this newsgroup thread, or Subclassing and Responding to Notifications from the ListView Header on the MVPS site.

Posting Permissions

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