The use of the BITOR() function is an alternative to adding the desired constant values together to determine the .Flags value, which in turn determines the behaviour of the common dialog.
Documentation may be found here, and there may well be better documentation elsewhere.
It's relatively simple to change the behaviour of the common dialog by adding or removing parameters to suit.
Microsoft's use of CHR(0) as a delimiter is a potential 'gotcha' when parsing the folder/filenames list returned by the common dialog. At first glance you would be forgiven for assuming the filenames were separated by a space.
I have amended the FAQ with the additional information as above.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.