CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: OLE_COLOR

  1. #1
    Guest

    OLE_COLOR

    OLE_COLOR is long, how do object browsers know the difference,
    i.e. #import gives OLE_COLOR not long for return type.
    VB propertybrowser gives pallet of colors etc.
    VT_COLOR = VT_I4 = 3 so no way to tell from that, and
    this is true even if dispid are not special such as DISPID_FORECOLOR.



  2. #2
    Join Date
    May 1999
    Posts
    48

    Re: OLE_COLOR

    The OLE_COLOR can be a index of a sys color, or a specific RGB, depends on first byte of the long.
    Sincerely, Mihai


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured