Dialog with title...

Login to reply to this topic.
Thu, 2005-07-07 08:56
Joined: 2004-09-06
Forum posts: 235
How do I create a Dialog with title..
I tried putting a label at the top, but it doesn't work

Here is my resource,

RESOURCE DIALOG r_xkey_not_present_dlg
{
   flags   = EEikDialogFlagNoDrag |EEikDialogFlagFillAppClientRect | EEikDialogFlagCbaButtons | EEikDialogFlagWait;
   buttons   = r_xkey_not_present_cba;
   items   =
   {
      DLG_LINE
      {
         type = EEikCtLabel;
         id = 9874;
         control = LABEL
         {   
            txt = "My Dialog";   
         };
      },
      
      DLG_LINE
      {
         type = EAknCtSingleListBox;
         id = ESelectionListControl;
         control = LISTBOX
         {
            flags = EAknListBoxSelectionList;
         };
      }
   };
}

the "My Dialog" label does not appear.
  • Login to reply to this topic.