#DEFINE HTCDF_NOSELECTDIR 0x80000000 #define OFN_EXPLORER 0x00080000 // new look commdlg Declare String CD_GetFile in HTWindow.dll ; String cStartDir, String cStrFilter, Long hWndParent, ; Long nPosition, Long nX, Long nY, ; Long uFlags, Long uFlagsEx ?CD_GetFile("c:\MMVisCollect","dat",0,0,0,0,0,HTCDF_NOSELECTDIR)Can we change window title and the Open button caption? Why the Open button is disabled? How then the user can select a file?
>>#DEFINE HTCDF_NOSELECTDIR 0x80000000 >>#define OFN_EXPLORER 0x00080000 // new look commdlg >> >>Declare String CD_GetFile in E:\INT\vfp\HTWindow\HTWindow.dll ; >> String cStartDir, String cStrFilter, Long hWndParent, ; >> Long nPosition, Long nX, Long nY, ; >> Long uFlags, Long uFlagsEx >>?CD_GetFile("c:temp\","",0,0,0,0,0,HTCDF_NOSELECTDIR) >>>>
>>?CD_GetFile("c:temp\","",0,0,0,0,OFN_EXPLORER,HTCDF_NOSELECTDIR) >>>>