Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Prevent User Browsing Different Dir with CommonControl
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00903425
Message ID:
01044678
Vues:
22
>>
>>The FFC _ComDlg class (in _System.VCX), which is just a wrapper for the CommonDialog control, has an lNoChangeDir property that prevents the user from changing directories. This causes 0x00000008 to be added to the Flags property of the CommonDialog control.
>
>Doug,
>
>This flag doesn't prevent user from changing directories in the dialog and furthermore, it's ignored under WinNT/Win2K/WinXP http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/userinput/commondialogboxlibrary/commondialogboxreference/commondialogboxstructures/openfilename.asp

So, the only way to go is to create a custom dialog? I added GetFile() to my application, but my manager wants to limit this to particular directory.
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