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. Listview and combobox questions? Margin in a combobox?

Listview and combobox questions? Margin in a combobox?

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

    Is there a way to highlight the entire first column of a listview and not just highlight the contents of the cell?? LVS_EX_FULLROWSELECT highlights the entire row, which I don't want. But not using that means that only the contents of the first column are highlighted. Is there a way to adjust the margin in either; a subitem of a listview or a combobox like you can set the margin in CEdit? What i'd really like to be able to do...is move, ever so slightly, the edit portion of the combobox. I paint a combobox in a subitem of a listview. When the row gets focus, I grab the text from the subitem and put it in the combobox. The text shifts to the right a couple pixels. Plus the combobox border takes up a lot of space and i'd like to shift the text shown up 2 pixels. Any ideas? Anyone have an example of column resizing when the user drags the gridline. I don't have a listview header but still want the user to be able to resize the column width. thanks mike

    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