timmay3141
Programmer
I'm trying to use an OPENFILENAME struct with the GetOpenFileName and GetSaveFileName functions. There's a side navigation bar on the dialog that I find annoying, but MSDN says how to fix this using the member variable FlagsEx:
FlagsEx
Windows 2000/XP: A set of bit flags you can use to initialize the dialog box. Currently, this member can be zero or the following flag.
OFN_EX_NOPLACESBAR
If this flag is set, the places bar is not displayed. If this flag is not set, Explorer-style dialog boxes include a places bar containing icons for commonly-used folders, such as Favorites and Desktop.
For some reason, OPENFILENAME does not contain a member named FlagsEx. The OFN_EX_NOPLACESBAR flag doesn't exist, either. I downloaded the newest service pack, and it still doesn't exist. I use Windows XP Pro, so it should be there (obviously the places bar is). What should I do here?
FlagsEx
Windows 2000/XP: A set of bit flags you can use to initialize the dialog box. Currently, this member can be zero or the following flag.
OFN_EX_NOPLACESBAR
If this flag is set, the places bar is not displayed. If this flag is not set, Explorer-style dialog boxes include a places bar containing icons for commonly-used folders, such as Favorites and Desktop.
For some reason, OPENFILENAME does not contain a member named FlagsEx. The OFN_EX_NOPLACESBAR flag doesn't exist, either. I downloaded the newest service pack, and it still doesn't exist. I use Windows XP Pro, so it should be there (obviously the places bar is). What should I do here?