Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Enhanced GetDir()
Message
 
À
15/12/2004 03:12:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
00969347
Message ID:
00969350
Vues:
4
Thanks.

After this i realised that I need to drop some old habbits.


>Aashish,
>I see You use VFP 8. In this version GetDir() has a new parameter named nFlags:
>GETDIR([cDirectory [, cText [, cCaption [, nFlags [, lRootOnly]]]]])
>Check it in Help
>
>nFlag Value Description
>1 BIF_RETURNONLYFSDIRS Return only file system directories (physical locations). If a user selects folders that are not part                 of the file system, the OK button is grayed.
>2 BIF_DONTGOBELOWDOMAIN Do not include network folders below the domain level in the tree view control (For example, My Computer and My Networks).
>8 BIF_RETURNFSANCESTORS Return only file system ancestors.
>                        If a user selects anything other than a file system ancestor, the OK button is grayed.
>16 BIF_EDITBOX          The browse dialog includes an edit control in which the user can type the name of an item.
>                        Available on Windows 98 and above, or with Internet Explorer 4.0 or higher (assuming shell
>                        integration option selected). Requires version 4.71 of shell32.dll.
>32 BIF_VALIDATE         Validates the editbox contents. If the editbox is used, it is necessary to validate the
>                        user-specified content. If the user types an invalid name into the edit box, the Cancel button
>                        becomes the only selection available. This flag is ignored if BIF_EDITBOX is not specified.
>64 BIF_NEWDIALOGSTYLE   Use the new user-interface. Setting this flag provides the user with a larger, resizable dialog box.
>                        Additional functionality includes: drag and drop capability within the dialog box, reordering,
>                        context menus, new folders, delete, and other context menu commands. Support in Windows 2000 and
>                        above. Requires version 5.00 of shell32.dll.
>16384 BIF_BROWSEINCLUDEFILES The browse dialog will display files as well as folders.
>                             Available on Windows 98 and above, or with Internet Explorer 4.0 or higher (assuming shell
>                             integration option selected). Requires version 4.71 of shell32.dll.
>
--
--
Aashish Sharma
Tele Nos: +1-201-490-5405
Mobile: +91-9821053938
E-Mail:
aashish@aashishsharma.com
write2aashish@gmail.com

You better believe in yourself... if you don't, who else will ?
TODAY is a gift, that's why it's called PRESENT
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform