WEB开发网
开发学院手机开发Symbian 开发 Symbian CAknFileSelectionDialog选择文件对话框详... 阅读

Symbian CAknFileSelectionDialog选择文件对话框详解

 2010-02-03 16:28:00 来源:WEB开发网   
核心提示:TBool err = fileSelectionDialog->ExecuteL(fileName);aFileName.Copy(fileName);delete fileSelectionDialog;return err;}//资源文件#include //FILESELECTIONDIALOG#incl

TBool err = fileSelectionDialog->ExecuteL(fileName);

aFileName.Copy(fileName);

delete fileSelectionDialog;

return err;

}

//资源文件

#include //FILESELECTIONDIALOG

#include

RESOURCE FILESELECTIONDIALOG r_file_selection_dialog_c

{

title = <0x9009><0x62e9><0x6587><0x4EF6>;

root_path = "C:\";

}

RESOURCE FILESELECTIONDIALOG r_file_selection_dialog_e

{

title = <0x9009><0x62e9><0x6587><0x4EF6>;

root_path = "E:\";

}

以上代码在N95,N73,6120上测试通过

上一页  1 2 

Tags:Symbian CAknFileSelectionDialog 选择

编辑录入:coldstar [复制链接] [打 印]
赞助商链接