Read-only archive of the All About Symbian forum (2001–2013) · About this archive

dialog in Series 60

0 replies · 2,135 views · Started 25 July 2004

Hi all
please give me some tips about dialogs in the series 60 ?
do dialogs always come in a Form ?
if not , how do I create a dialog ?
for now , I try to create a dialog in a form , and use the code below , but I get a break point ,
Please advise cause I'm new to Series 60 ,
Thanks in advance

**** CPP FILE ****
CAknForm * form = new( ELeave ) CAknForm;
CleanupStack::PushL(form);
form->ConstructL();
CleanupStack::Pop();
form->ExecuteLD(R_MYAPP_ABOUT_DIALOG);

**** RSS file ****
RESOURCE DIALOG r_myapp_about_dialog
{
flags = EEikDialogFlagWait | EEikDialogFlagNoDrag;
buttons = R_AVKON_SOFTKEYS_OPTIONS_BACK;
form = r_myapp_about_form;
}
RESOURCE FORM r_myapp_about_form
{
items=
{
DLG_LINE
{
type=EEikCtLabel;
id=EcelCallControlIdAbout;
control=LABEL{txt="MyApp version 1.0";};
}
};
}