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. How to modify CListBox's style?

How to modify CListBox's style?

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialquestion
6 Posts 4 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.
  • A Offline
    A Offline
    alan top
    wrote on last edited by
    #1

    How to modify CListBox's style? alantop

    H N 2 Replies Last reply
    0
    • A alan top

      How to modify CListBox's style? alantop

      N Offline
      N Offline
      Nibu babu thomas
      wrote on last edited by
      #2

      alan top wrote:

      How to modify CListBox's style?

      Refer ModifyStyle or ModifyStyleEx or SetWindowLong.


      Nibu thomas A Developer Programming tips[^]  My site[^]

      1 Reply Last reply
      0
      • A alan top

        How to modify CListBox's style? alantop

        H Offline
        H Offline
        Hamid Taebi
        wrote on last edited by
        #3

        CListBox m_List; m_List.ModifyStyle(...);_**


        **_

        whitesky


        A 1 Reply Last reply
        0
        • H Hamid Taebi

          CListBox m_List; m_List.ModifyStyle(...);_**


          **_

          whitesky


          A Offline
          A Offline
          alan top
          wrote on last edited by
          #4

          I use m_ListBox.ModifyStyle(0, LBS_MULTIPLESEL), but don't modify its style to "multiple". why? thanks! alantop

          H D 2 Replies Last reply
          0
          • A alan top

            I use m_ListBox.ModifyStyle(0, LBS_MULTIPLESEL), but don't modify its style to "multiple". why? thanks! alantop

            H Offline
            H Offline
            Hamid Taebi
            wrote on last edited by
            #5

            See Here[^] maybe it is some helpful to you_**


            **_

            whitesky


            1 Reply Last reply
            0
            • A alan top

              I use m_ListBox.ModifyStyle(0, LBS_MULTIPLESEL), but don't modify its style to "multiple". why? thanks! alantop

              D Offline
              D Offline
              David Crow
              wrote on last edited by
              #6

              Are you sure that style can be changed at run-time? Some can, other can't.


              "The largest fire starts but with the smallest spark." - David Crow

              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