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 disable Scroll-Bars in List-Control in XP ?

How to disable Scroll-Bars in List-Control in XP ?

Scheduled Pinned Locked Moved C / C++ / MFC
helptutorialquestion
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.
  • O Offline
    O Offline
    ohadp
    wrote on last edited by
    #1

    I want to have a scroll-bar, I want it to have a non-client area (I draw a nice frame around it). I override OnNCCalcSize/OnNCPaint, I calculate and draw my nice border but Windows-XP overwrites parts of it with the blue Vertical/Horizontal Scroll-Bars. I've tried InitializeFlatSB(this->m_hWnd); FlatSB_EnableScrollBar(this->m_hWnd, SB_BOTH, ESB_DISABLE_BOTH); FlatSB_ShowScrollBar(this->m_hWnd, SB_BOTH, ESB_DISABLE_BOTH); but it doesn't help. Has anybody stumbled upon this problem ? In Windows-2000 my message-overriding prevents Windows from repainting it's scroll-bar, but under XP it somehow manages to get it in and mess-up my border :-) 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