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. win7 & vista's problem

win7 & vista's problem

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestion
8 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.
  • N Offline
    N Offline
    nenfa
    wrote on last edited by
    #1

    there is a problem existed in window7 and vista, if we set the autorange for the desktop application, that we can't send LVM_SETITEMPOSITION message, or it'll always return FALSE, why? it can take effect in windows xp.

    L 1 Reply Last reply
    0
    • N nenfa

      there is a problem existed in window7 and vista, if we set the autorange for the desktop application, that we can't send LVM_SETITEMPOSITION message, or it'll always return FALSE, why? it can take effect in windows xp.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      The MSDN documentation[^] states: On Windows Vista, sending this message to a list-view control with the LVS_AUTOARRANGE style does nothing, and the return value is FALSE. I think you will need to talk to Microsoft for an explanation.

      MVP 2010 - are they mad?

      N 2 Replies Last reply
      0
      • L Lost User

        The MSDN documentation[^] states: On Windows Vista, sending this message to a list-view control with the LVS_AUTOARRANGE style does nothing, and the return value is FALSE. I think you will need to talk to Microsoft for an explanation.

        MVP 2010 - are they mad?

        N Offline
        N Offline
        nenfa
        wrote on last edited by
        #3

        thank you very much.

        1 Reply Last reply
        0
        • L Lost User

          The MSDN documentation[^] states: On Windows Vista, sending this message to a list-view control with the LVS_AUTOARRANGE style does nothing, and the return value is FALSE. I think you will need to talk to Microsoft for an explanation.

          MVP 2010 - are they mad?

          N Offline
          N Offline
          nenfa
          wrote on last edited by
          #4

          so, i can't exchange the position of the list items with the LVS_AUTOARRANGE style, my god.

          L 1 Reply Last reply
          0
          • N nenfa

            so, i can't exchange the position of the list items with the LVS_AUTOARRANGE style, my god.

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #5

            That sounds quite reasonable if you have specified that they should be arranged automatically.

            MVP 2010 - are they mad?

            N 1 Reply Last reply
            0
            • L Lost User

              That sounds quite reasonable if you have specified that they should be arranged automatically.

              MVP 2010 - are they mad?

              N Offline
              N Offline
              nenfa
              wrote on last edited by
              #6

              but it can exchange items' position if you dragging the icon on the desktop within the application of explorer.exe, i want to have the utility in my own application, how can i do? thanks in advance

              L 1 Reply Last reply
              0
              • N nenfa

                but it can exchange items' position if you dragging the icon on the desktop within the application of explorer.exe, i want to have the utility in my own application, how can i do? thanks in advance

                L Offline
                L Offline
                Lost User
                wrote on last edited by
                #7

                Well I guess you need to suppress the auto arrange feature and implement it within your own code so that it looks the same. I have no idea how explorer does this, you might try asking Microsoft.

                MVP 2010 - are they mad?

                N 1 Reply Last reply
                0
                • L Lost User

                  Well I guess you need to suppress the auto arrange feature and implement it within your own code so that it looks the same. I have no idea how explorer does this, you might try asking Microsoft.

                  MVP 2010 - are they mad?

                  N Offline
                  N Offline
                  nenfa
                  wrote on last edited by
                  #8

                  thanks for your advice :)

                  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