Why is the highlight of a selection always blue?

Viewing 5 posts - 21 through 25 (of 25 total)
  • Author
    Posts
  • #52515
    Support
    Keymaster

      Send me a letter, if you want, and I will answer there with attached package for tests.

      #52516
      HeDiBo
      Participant

        The skinning works beautifully :a3:

        Some minor concerns:

        I noticed some problems with some skins:

        • The following skins have no contrast between highlighted text and highlighted background, making the text unreadable: DarkMetro, DarkMetro_contrast, MacOS2, Matrix, Matrix_contrast, Ubuntu, Underwater, Winter2003
        • The next skins have no distinction between a normal background and a highlighted background making selection disappear: Emerald, Nautilus, Nautilus_contrast, Steam, Steam2.


        You can verify both in this project: [attachment=6901:acSetSysColor.zip]

        Ideally the selection should look the same as the highlight in the drop down list of the combobox.

        The way you place the hook may not work in all cases. The docs say that in order to be able to use WriteProcessMemory, “The handle must have PROCESS_VM_WRITE and PROCESS_VM_OPERATION access to the process”. I'm not sure that's always true. You may have to call GetSecurityInfo and SetSecurityInfo as per this msdn article.

        All in all it's a great effort already :a3:

        #52521
        HeDiBo
        Participant

          I've made sample screenshots of both the highlight problems and the invisible selection problems. I hope this clears things up.

          [attachment=6902:acHighlightProblems.jpg]

          [attachment=6903:acSelectionProblems.jpg]

          #52522
          Support
          Keymaster

            Thank you, I will update all skins soon.

            #52524
            HeDiBo
            Participant
              'Support' wrote:

              Thank you, I will update all skins soon.

              That may not be needed for the highlight problems. As you can see, the highlight in the drop down lists is OK. If the highlight in the drop down list would be the one used for the highlight in edit boxes (for all skins) only the logic of the color selection when painting the highlight needs to change, in order to use that one.

              But you'll know this better. -_-

            Viewing 5 posts - 21 through 25 (of 25 total)
            • You must be logged in to reply to this topic.