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. ListCtrl Ownder Draw problem

ListCtrl Ownder Draw problem

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestion
1 Posts 1 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.
  • Y Offline
    Y Offline
    Yaron Nir
    wrote on last edited by
    #1

    Hi, i have created my own list ctrl that inherites from CListCtrl and has the property ownder draw fixed. I want to force it to show vertical scroll bar. i wrote the following code: m_lc.ModifyStyle(0,WS_VSCROLL); m_lc.SetScrollRange(SB_VERT,0,100); m_lc.SetScrollPos(SB_VERT,0); m_lc.ShowScrollBar(SB_VERT); if i hook with spy++ to the list ctrl , i can see that the style was changed and now has WS_VSCROLL, but i don't see the vertical scroll bar. it only appears when many items has been inserted to the list.... can any1 help? thanks Yaron Ask not what the application can do for you, ask what you can do for your application

    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