Results 1 to 2 of 2

Thread: Listview Control

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2001
    Location
    Scotland
    Posts
    2

    Listview Control

    Hi

    Got a couple of queries about a Listview control that I am hoping someone can help me with.

    The listview control has a "Gridline" property which sets whether or not gridlines will appear on the grid. Does anyone know of any API calls that:

    1. can be called to suppress the vertical lines of the grid and

    2. can be called to change the colour of the gridlines themselves.

    Thanks very much.

    Dougy

  2. #2
    Fanatic Member crispin's Avatar
    Join Date
    Aug 2000
    Location
    2 clicks west of a Quirkafleeg...Cornwall, England
    Posts
    754
    Hi Dougy,

    The only thing you can do (as far as i'm aware) is set either the LVS_EX_GRIDLINES extended style bit to turn off or on the gridlines, I had a look but could find nothing regarding horizontal versus vertical gridline switching.

    And as far as changing the colour of the gridlines themselves.....I don't think thats possible either - and I looked at all the MVP sites.....
    Crispin
    VB6 ENT SP5
    VB.NET
    W2K ADV SVR SP3
    WWW.BLOCKSOFT.CO.UK

    [Microsoft Basic: 1976-2001, RIP]

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