Questions tagged [ofnhookproc]
4 questions
7
votes
3 answers
c# customizing controls on a save dialog -- how to disable parent folder button?
I am working from the sample project here: http://www.codeproject.com/Articles/8086/Extending-the-save-file-dialog-class-in-NET
I have hidden the address/location bar at the top and made other modifications but I can't for the life of me manage to…

Bryan
- 623
- 1
- 6
- 23
3
votes
1 answer
OFN_ENABLEHOOK modifies the look of GetOpenFileName()
Why does adding a hook procedure (with the OFN_ENABLEHOOK and OFN_EXPLORER flags) to GetOpenFileName() causes a different dialog to be displayed in Windows 7, if the hook procedure just returns FALSE without doing anything?
Update:
Apparently…

user541686
- 205,094
- 128
- 528
- 886
2
votes
2 answers
Customized Windows Save Dialog is no Longer Fancy -- Why?
In accordance with this question I am customizing a Win32 Save File dialog with a custom template description. Now I have a problem where the Save File dialog doesn't show the left-hand bar with my computer, recent places, etc. I can confirm that…

fbrereto
- 35,429
- 19
- 126
- 178
1
vote
3 answers
Customizing Win32's Save File Dialog
I am trying to save a file using GetSaveFileName and want to have a couple extra popups at the bottom of my save file dialog to allow the user to specify further options. I am trying to follow the MSDN documentation (specifically the Explorer-style…

fbrereto
- 35,429
- 19
- 126
- 178