Skip to content

Add COLORREF to CsWin32 #1035

Closed
Closed

Description

@fernandanavamoya

Is your feature request related to a problem? Please describe.
We refer to COLORREF many times inside our code therefore it would be very useful if it was defined in CsWin32.

Describe the solution you'd like
Add COLORREF to CsWin32

Describe alternatives you've considered
We've been using our own COLORREF struct

Activity

  1. added
    enhancement
    on Aug 10, 2022
  2. JeremyKuhne commented on Aug 10, 2022

    @JeremyKuhne
    Member

    We use this a lot, so it would be great if we could get a similar implementation and have it used instead of uint in the various structures/APIs that use it.

  3. AArnott commented on Aug 10, 2022

    @AArnott
    Member

    This would have to be changed in the metadata. A typedef struct ought to do it, probably.

  4. elachlan commented on Aug 15, 2022

    @elachlan
    Contributor

    Might as well add LOGPALETTE and PALETTEENTRY while we are at it.

  5. sotteson1 commented on Aug 16, 2022

    @sotteson1
    Contributor

    Might as well add LOGPALETTE and PALETTEENTRY while we are at it.

    Both of those structs are already in the metadata.

  6. elachlan commented on Aug 16, 2022

    @elachlan
    Contributor

    Thanks, I should have checked ILSpy.

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

    WinFormsenhancementpartner

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions