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. XP Styles and HP_HEADERSORTARROW

XP Styles and HP_HEADERSORTARROW

Scheduled Pinned Locked Moved C / C++ / MFC
wpftutorialquestion
2 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.
  • P Offline
    P Offline
    Paul Vickery
    wrote on last edited by
    #1

    Does anyone have experience of using HP_HEADERSORTARROW? I am assuming that it should be used with DrawThemeBackground. I have found that it is not supported in any of the standard XP styles, so I am having to draw my own header arrow. Onw thing I would like to know is how to use it, so I can have code in there which uses it when available. This though means that if the text doesn't fit next to it then the arrow draws over the top of it. I don't really want to draw anything I don't have to, ie text, background, just to get the arrow. What I'm really after is an XP-styled sort-header control. Any ideas?


    "The way of a fool seems right to him, but a wise man listens to advice" - Proverbs 12:15 (NIV)

    P 1 Reply Last reply
    0
    • P Paul Vickery

      Does anyone have experience of using HP_HEADERSORTARROW? I am assuming that it should be used with DrawThemeBackground. I have found that it is not supported in any of the standard XP styles, so I am having to draw my own header arrow. Onw thing I would like to know is how to use it, so I can have code in there which uses it when available. This though means that if the text doesn't fit next to it then the arrow draws over the top of it. I don't really want to draw anything I don't have to, ie text, background, just to get the arrow. What I'm really after is an XP-styled sort-header control. Any ideas?


      "The way of a fool seems right to him, but a wise man listens to advice" - Proverbs 12:15 (NIV)

      P Offline
      P Offline
      Paul Vickery
      wrote on last edited by
      #2

      OK, I've done a bit more searching, and found out that I can use HDF_SORTUP and HDF_SORTDOWN. See this[^] and this[^].


      "The way of a fool seems right to him, but a wise man listens to advice" - Proverbs 12:15 (NIV)

      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