×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    6

    How to change grid's background color

    Hi all:

    Does anyone know how to change grid's background color.
    I try to use OverrideColorL(TInt aLogicalColor,TRgb aColor), but
    it doesn't work no matter how I change the "aLogicalColor" value.
    Does anyone know the solution?

    PS. you can find aLogicalColor value when searching Series 60
    SDK help by using the key word "TLogicalColor"

    Thanks
    Ludy Lu

  2. #2
    Registered User
    Join Date
    Mar 2008
    Posts
    17

    Re: How to change grid's background color

    try this code in draw method
    gc.SetBrushColor(KRgbWhite);
    gc.SetBrushStyle(CGraphicsContext::ESolidBrush);
    gc.DrawRect(....);

Posting Permissions

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