Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Gridlines without checkboxes in Listcontrol

Gridlines without checkboxes in Listcontrol

Scheduled Pinned Locked Moved C / C++ / MFC
question
5 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    Hel
    wrote on last edited by
    #1

    I am using the folowing code to add gridlines to a report-Style Listcontrol: dwExStyle = m_listSpeeds.GetExStyle(); dwExStyle |= LVS_EX_FULLROWSELECT | LVS_EX_GRIDLINES; m_listSpeeds.SetExtendedStyle(dwExStyle); For some reason this is adding checkboxes to my control as well as gridlines. Why is this happening :((and how I can disable this behaviour? well hell doesn't want you and heaven is full. Tom Waits

    D 1 Reply Last reply
    0
    • H Hel

      I am using the folowing code to add gridlines to a report-Style Listcontrol: dwExStyle = m_listSpeeds.GetExStyle(); dwExStyle |= LVS_EX_FULLROWSELECT | LVS_EX_GRIDLINES; m_listSpeeds.SetExtendedStyle(dwExStyle); For some reason this is adding checkboxes to my control as well as gridlines. Why is this happening :((and how I can disable this behaviour? well hell doesn't want you and heaven is full. Tom Waits

      D Offline
      D Offline
      dabs
      wrote on last edited by
      #2

      Try changing the first line from dwExStyle = m_listSpeeds.GetExStyle(); to dwExStyle = m_listSpeeds.GetExtendedStyle();


      Wenn ist das Nunstück git und Slotermeyer? Ja! Beierhund das oder die Flipperwaldt gersput!

      H 1 Reply Last reply
      0
      • D dabs

        Try changing the first line from dwExStyle = m_listSpeeds.GetExStyle(); to dwExStyle = m_listSpeeds.GetExtendedStyle();


        Wenn ist das Nunstück git und Slotermeyer? Ja! Beierhund das oder die Flipperwaldt gersput!

        H Offline
        H Offline
        Hel
        wrote on last edited by
        #3

        Thank you!! It works:-D What does your signiture mean in English?:omg: well hell doesn't want you and heaven is full. Tom Waits

        D 1 Reply Last reply
        0
        • H Hel

          Thank you!! It works:-D What does your signiture mean in English?:omg: well hell doesn't want you and heaven is full. Tom Waits

          D Offline
          D Offline
          dabs
          wrote on last edited by
          #4

          Well it doesn't really mean anything :-D This is however the German version of "The funniest joke in the world"[^] according to Monty Python.


          Wenn ist das Nunstück git und Slotermeyer? Ja! Beierhund das oder die Flipperwaldt gersput!

          H 1 Reply Last reply
          0
          • D dabs

            Well it doesn't really mean anything :-D This is however the German version of "The funniest joke in the world"[^] according to Monty Python.


            Wenn ist das Nunstück git und Slotermeyer? Ja! Beierhund das oder die Flipperwaldt gersput!

            H Offline
            H Offline
            Hel
            wrote on last edited by
            #5

            :laugh::laugh::laugh: well hell doesn't want you and heaven is full. Tom Waits

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups