|
|
User login
Feeds |
Problem with setting the color in a CAknMessageQueryDialog
|
|||||
| Thu, 2005-04-28 17:22 | |
|
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"; }; } }; } |
|
Forum posts: 63
Forum posts: 18
thanks
Forum posts: 63
http://forum.newlc.com/index.php/topic,8220.0.html
Forum posts: 63
Forum posts: 14
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
Forum posts: 1
Hi All,
Can you please let me know if anybody could change the background color or the text color of CAknMessageQueryDialog.
Thanks,
Laila.