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. OwnerDraw ListCtrl problem - help!

OwnerDraw ListCtrl problem - help!

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 all, I have an owner draw list ctrl. i want to force a vertical scroll to be shown when the dialog that the list sits on appears. this is the code i've tried : ListView_SetExtendedListViewStyle(m_lc.m_hWnd, LVS_EX_FLATSB|LVS_EX_FULLROWSELECT ); now i've inserted some columns and then: m_lc.ModifyStyle(0,WS_VSCROLL); m_lc.SetScrollRange(SB_VERT,0,100); m_lc.SetScrollPos(SB_VERT,0); m_lc.ShowScrollBar(SB_VERT); this doesn't show the vertical scroll bar. the bar only show when the limit of inserted items succeeds. can any1 show me what to do in order to force the scroll bar? thanks in advanced 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