Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ListView - header's icon alignment
Message
 
 
À
31/08/2005 04:19:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01045162
Message ID:
01045456
Vues:
33
Hi Herman,
#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?

>Hi Martin,
>
>My apoligies for what's happening. I just noticed that. I have uploaded the latest one (ver 0.6.21.14).
>
>So to everyone that has been download it, please re-download it.
>
>Again, my apology to everyone :-(
>
>Oh Btw, yes I disabled some controls to prevent folder selection. But if the folder prevention flags is not use then all controls is behave as usual.
>
>Regards
>
>>Hi Herman,
>>
>>Did you only disable controls on dialog?
>>
>>For Naomi:
>>
>>#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)
>>
>>
>>To Herman:
>>If I tried call with uFlags=OFN_EXPLORER then:
>>- first calling don't show dialog
>>- second calling close the vfp window
>>
>>?CD_GetFile("c:temp\","",0,0,0,0,OFN_EXPLORER,HTCDF_NOSELECTDIR)
>>
>>
>>MartinJ
>>
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform