Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ListView - header's icon alignment
Message
 
À
31/08/2005 02:36:27
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:
01045404
Vues:
26
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

>Hi Naomi,
>
>>>I saw that you will try new idea in your other threads. :)
>>>
>>>Anyway, I have a GetOpenFileName() and GetSaveFileName API wrapper with ability to prevent a folder selection. Just let me know, I'll update my DLL wrapper if you want.
>>>
>>>Regards
>>
>>Yes, it would be great. That's exactly what I'd like to achieve: the GetFile() interface with the particular directory.
>>
>>Thanks a lot in advance.
>
>The DLL file has been updated (file #14876). Don't get upset if the interface became a bit ugly, because it is needed to prevent all the posibility to select a folder <g>
>
>Let me know if you have a problems
>HTH
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform