Hi,
I want to implement a popup dialog which has a title, and its content text can have different color, size and maybe link or the phone number which can be directly dialed, just like the phone number in sms content.
So I decided to follow the example:
http://wiki.forum.nokia.com/index.ph...yDialog_dialog
and chagend the .rss file to this:
---------------------------------------------------
flags = EGeneralQueryFlags | EEikDialogFlagNoBorder | EEikDialogFlagNoShadow;
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
{
};
}
----------------------------------------------------------------------------
Then:
---------------------------------------------------------------------------
iDialog->PrepareLC(R_MODAL_DIALOG);
iDialog->QueryHeading()->SetTextL(_L("test"));
iDialog->RunLD();
---------------------------------------------------------------------------
And change the CSplashScreenDialog::SetSizeAndPosition, so it covers the half of screen
But after I run it, there are two problems:
1. I didn't see the title
2. A simple rectangle covers the half of the screen and that is very ugly
Sorry for not being so familiar with the UI programming, can someone help me? Thanks in advance!
PS, it doesn't need to be a dialog, but the appearance matters



