Problem with setting the color in a CAknMessageQueryDialog

Login to reply to this topic.
Thu, 2005-04-28 17:22
Joined: 2005-04-14
Forum posts: 18
hy,

my code works fine, but if i run it on an nokia 6630 the screen looks strange.

The Background of the Dialog is light blue. thats ok.
sadly the area were the text is printed is white. (interior rectangle)
this doesn't look really good.

how do i get the text area light blue as well?


thanks for your help.

_______________________
|___Info|_______________|
|______________________|
|____________________|_|
|_|text text text text text||_|
|_|text text text text text||_|
|_|text text text text text||_|
|_|text text text text text||_|
|_|__________________||_|
|______________________|






Code:
CAknMessageQueryDialog* dlg = CAknMessageQueryDialog::NewL(text);
dlg->SetHeaderTextL(titel);
dlg->ExecuteLD(R_INFO_DIALOG);


Code:
//----------------------------------------------------
//    INFO DIALOG
//----------------------------------------------------
RESOURCE DIALOG r_info_dialog {
  flags = EGeneralQueryFlags;
  buttons = R_AVKON_SOFTKEYS_OK_EMPTY;
  items = {
     DLG_LINE {
        type = EAknCtPopupHeadingPane;
        id = EAknMessageQueryHeaderId;
        control = AVKON_HEADING {};
     },
     DLG_LINE {
         type = EAknCtMessageQuery;
         id = EAknMessageQueryContentId;
         control = AVKON_MESSAGE_QUERY { message = "Test"; };
     }
  };
}

Wed, 2005-05-04 10:10
Joined: 2004-09-08
Forum posts: 63
Problem with setting the color in a CAknMessageQueryDialog
Same problem here. Any solution?
Sat, 2005-05-14 15:50
Joined: 2005-04-14
Forum posts: 18
Problem with setting the color in a CAknMessageQueryDialog
does really nobody has a answer to this problem?Huh


thanks
Tue, 2005-06-07 13:16
Joined: 2004-09-08
Forum posts: 63
Re: Problem with setting the color in a CAknMessageQueryDialog
Now i have similar color problem with listbox. Looks like the theme colors overrides right colors.
http://forum.newlc.com/index.php/topic,8220.0.html
Thu, 2005-09-15 11:13
Joined: 2004-09-08
Forum posts: 63
Re: Problem with setting the color in a CAknMessageQueryDialog
Anyone?
Mon, 2007-12-10 16:27
Joined: 2004-10-27
Forum posts: 14
Re: Problem with setting the color in a CAknMessageQueryDialog


This might help some people:

http://discussion.forum.nokia.com/forum/showthread.php?t=86332&highlight=CAknMessageQueryDialog+white

I can't remember whether 'BaseConstructL(CAknAppUi::EAknEnableSkin)' is used in S60 v2 though.

michael

Thu, 2008-11-06 07:14
Joined: 2007-10-14
Forum posts: 1
Re: Problem with setting the color in a CAknMessageQueryDialog

Hi All,

Can you please let me know if anybody could change the background color or the text color of CAknMessageQueryDialog.

Thanks,
Laila.

  • Login to reply to this topic.