Skip to content

TranslateColor typo #245

Closed
Closed

Description

@GCuser99

The TranslateColor section misidentifies &H80000012 as "button face", when it should be "button text" (black on Windows 10/11 theme). Button face is &H8000000F.

Sub TestTranslateColor()
    Dim oleColor As Long
    oleColor = &H8000000F ' SystemColorConstants.vbButtonFace in WDL
    Debug.Assert TranslateColor(oleColor) = &HF0F0F0 'on a default Windows 10/11 theme
End Sub

Activity

  1. Jah-yee commented on Oct 20, 2026

    @Jah-yee
    Contributor

    Submitted PR #246 fixing this documentation error — changed description from 'button face' to 'button text' and corrected the example comment. Thanks for catching this!

  2. added a commit that references this issue on Oct 20, 2026
    49b97b6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions