×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    2

    How to make file selection dialog for MMC?

    Hi,
    How can I make a file selection dialog for c: drive and MMC?

    I tried to use AknCommonDialogs::RunSelectDlgLD but I'm not able ot set any parameters for it. The dialog always starts from C:\ and it shows all the files. And I'm not able to browse to MMC with it either.

    I found another thread of this dialog but there was no help. Any ideas anybody?

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,167
    Hi

    I basically haven't ever used this dialog, so not sure really, but have you tried to specify the starting folder with aFileName argument. basically just setting it to some folder name before opening the dialog, try and let me know also if it works.

    yucca

  3. #3
    Registered User
    Join Date
    Mar 2003
    Posts
    2
    I didn't try it yet but I'm afraid that it won't work. The documentation says:
    IMPORT_C TBool AknCommonDialogs::RunSelectDlgLD (TDes& aFileName, TInt aMemorySelectionResourceId, MAknFileSelectionObserver* aObserver = NULL) [static]

    aFileName: Full path and filename of the file that user selects is stored to this descriptor.
    aMemorySelectionResourceId: A resource id for memory selection dialog.
    aObserver: An observer which is asked, if set, to verify user's selection.

    It should be possible to set the default path on resources but I'm not able to get it working.

Posting Permissions

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