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. CListCtrl & LVS_EX_HEADERDRAGDROP

CListCtrl & LVS_EX_HEADERDRAGDROP

Scheduled Pinned Locked Moved C / C++ / MFC
designtutorialquestion
2 Posts 2 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.
  • T Offline
    T Offline
    Thomas Blenkers
    wrote on last edited by
    #1

    Hi forum, Questions: Does anyone know how to retrieve the actual column arrangement? Does anyone know how to do the drag/drop-operation programmatically? Underlying concept: I know that with a cole like this you may enable Drag & Drop Column arrangement in a CListCtrl: DWORD dwStyle = List.GetExtendedStyle() | LVS_EX_FULLROWSELECT | | LVS_EX_HEADERDRAGDROP; List.SetExtendedStyle(dwStyle); This is not only cool, it even works fine (if IE4 is installed). Now I would like to save the column arrangment for a give CListCtrl to enhance my user interface.... (see questions) Thanks for any ideas!!! Thomas

    M 1 Reply Last reply
    0
    • T Thomas Blenkers

      Hi forum, Questions: Does anyone know how to retrieve the actual column arrangement? Does anyone know how to do the drag/drop-operation programmatically? Underlying concept: I know that with a cole like this you may enable Drag & Drop Column arrangement in a CListCtrl: DWORD dwStyle = List.GetExtendedStyle() | LVS_EX_FULLROWSELECT | | LVS_EX_HEADERDRAGDROP; List.SetExtendedStyle(dwStyle); This is not only cool, it even works fine (if IE4 is installed). Now I would like to save the column arrangment for a give CListCtrl to enhance my user interface.... (see questions) Thanks for any ideas!!! Thomas

      M Offline
      M Offline
      Michael Dunn
      wrote on last edited by
      #2

      LVM_GETCOLUMNORDERARRAY and LVM_SETCOLUMNORDERARRAY --Mike-- http://home.inreach.com/mdunn/ #include "buffy_sig"

      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