I have an application in Labwindows that when a user clicks on a button, 'Save data', the button launches a file selection dialog box. For security reasons I want to disable the user from right clicking any where on the 'file selection dialog box' and being able to delete/rename existing files and/or create/delete existing folders/directories.
This can be done in windows with keyboard hook but thought there might be something easier in Labwindows. I have already tried setting the allowMakeDirectory attribute to 0 but this did nothing and the 'FileSelectPopupEx' function does not have an 'allowMakeDirectory' attribute to set.
I'm developing on windows7 and running the app on Vista.
Also for those who don't know most things that can be done in Windows, i.e. calls to strcpy, GetLastError() and etc., can be called from LabWindows.
Any suggestions would be appreciated.
Thanks