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. Subclassing SysListView32 in activex control problem

Subclassing SysListView32 in activex control problem

Scheduled Pinned Locked Moved C / C++ / MFC
helpc++comgraphicstutorial
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.
  • I Offline
    I Offline
    iluha
    wrote on last edited by
    #1

    Hello, I'm creating a new activex control using MFC ActiveX control wizard. my activex control subclasses SysListView32. Everything works except for drawing the control when i use WS_EX_CLIENTEDGE style. If i don’t call this function DoSuperclassPaint(pdc, rcBounds); the items in the control are not painted, but the column header is visible. If I do call this function, the items are painted, but there is an extra line below the column header and when you scroll there are lines going across the control where that it extra line was painted. It seems line the control dc is shifted 2 pixel right and 2 pixels down. When I dont use WS_EX_CLIENTEDGE style everything is fine. expect there is not 3d appearance. If anyone knows how to solve this problem PLEASE HELP. Thank you Ilya

    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