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. Scroll Bars

Scroll Bars

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialquestion
5 Posts 3 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.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    I to all, does anyone know how to use the LVS_EX_FLATSB style on a CListCtrl class? I can display the scrollbar, but I can do anything with it : it's disabled :confused: . Thanks to anyone. :) .

    J 1 Reply Last reply
    0
    • L Lost User

      I to all, does anyone know how to use the LVS_EX_FLATSB style on a CListCtrl class? I can display the scrollbar, but I can do anything with it : it's disabled :confused: . Thanks to anyone. :) .

      J Offline
      J Offline
      JerzyPeter
      wrote on last edited by
      #2

      m_List.SetExtendedStyle(m_List.GetExtendedStyle()|LVS_EX_FLATSB); Jerzy

      M 1 Reply Last reply
      0
      • J JerzyPeter

        m_List.SetExtendedStyle(m_List.GetExtendedStyle()|LVS_EX_FLATSB); Jerzy

        M Offline
        M Offline
        MAXS72U
        wrote on last edited by
        #3

        I agree you solution, but my problem is that the scrollbar (when displayed) is always disabled! Can you tell me why? Thanks. Massimo

        L 1 Reply Last reply
        0
        • M MAXS72U

          I agree you solution, but my problem is that the scrollbar (when displayed) is always disabled! Can you tell me why? Thanks. Massimo

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          a scroll bar in list box is disabled until it needs to be enabled, ie its enabled when there are mroe items in list box than the list box can show at one time.

          M 1 Reply Last reply
          0
          • L Lost User

            a scroll bar in list box is disabled until it needs to be enabled, ie its enabled when there are mroe items in list box than the list box can show at one time.

            M Offline
            M Offline
            MAXS72U
            wrote on last edited by
            #5

            My problem is that the ListCtrl is not empty! but have some items loaded:confused: :confused: . Thanks.

            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