Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Prevent User Browsing Different Dir with CommonControl
Message
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00903425
Message ID:
01044678
Views:
23
>>
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform