×

Discussion Board

Results 1 to 1 of 1
  1. #1
    Registered User
    Join Date
    May 2005
    Posts
    2

    CAknMarkableListDialog: notification of changes

    Hi all.
    Can anyone give me advise about following problem:

    <code>
    ...
    class CMyList : public CBase, public MDesCArray, public MEikCommandObserver {
    ...
    TInt MdcaCount() const;
    TPtrC MdcaPoint(TInt aIndex) const;
    void ProcessCommandL (TInt aCommandId);
    void RunDlg();
    TInt openedItem;
    CAknMarkableListDialog *dialog;
    }
    ...
    void CMyList::ProcessCommandL( TInt aCommandId )
    {
    switch( aCommandId ) {
    case EAknDelete:
    Delete( openedItem );
    // here how can i notify dialog about changes?
    break;
    default:
    break;
    }
    }
    ...
    CMyList::RunDlg()
    {
    ...
    dialog = AknMarkableListDialog::NewL( openedItem, selectedItems, this, R_RES_ID_FOR_A_MENUBAR, this );
    TInt result = dialog->ExecuteLD( R_RES_ID_FOR_A_DIALOG );
    ...
    }
    ...
    </code>

    So question is in code: how can i notify dialog about changes made after user selected some command in Options menu?

    Thanx a lot.
    Best regards.
    Last edited by ian.coopyrin; 2005-08-02 at 10:09.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×