Results 1 to 2 of 2

Thread: FormatDisplayValue in cCJGridColumn

  1. #1
    Join Date
    Feb 2009
    Posts
    5,468

    Default FormatDisplayValue in cCJGridColumn

    In appreciate FormatDisplayValue in cCJGridColumn is marked as Private but I notice I still returns a Boolean to indicate if the value is ANSI or OEM

    Where it is used in DrawCell if the result is ANSI then it calls AnsiValueToVariant which Converts it to a wide UTF8 string

    It all appears to be about handling an oddity with the euro symbol

    It looks like this code is unchanged from previous revisions I'm just asking is it still correct/relevant or does it need a tweak
    Success consists of going from failure to failure without loss of enthusiasm - Winston Churchill

  2. #2
    Join Date
    Feb 2009
    Location
    The Netherlands
    Posts
    4,674

    Default Re: FormatDisplayValue in cCJGridColumn

    This code does seem to be touched and likely works well with unicode, but it could use some cleaning up as these references to ANSI seem to be invalid now (AnsiValueToVariant is actually changed to convert from UTF-8 to variant).

Posting Permissions

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