i was just see couple programs with diferent open styles...
but i only know one style, default style, but how to customise?
here is 3 styles
http://www.ti5.tu-harburg.de/manual/vba5/graphics/12tva02.gif (http://www.ti5.tu-harburg.de/manual/vba5/graphics/12tva02.gif)
http://www.k1simplify.com/vba/img/tips12-1.gif (http://www.k1simplify.com/vba/img/tips12-1.gif)
http://www.netcult.ch/elmue/ComdlgWin-en.gif (http://www.netcult.ch/elmue/ComdlgWin-en.gif)
I modified the links so that they are clickable :)
- sluggy
trodon,
You need to play with the Flags member of OPENFILENAME structure and use the OFNHookProc procedure (search MSDN).
Maybe with one more hook procedure, you'll be able to do what you want with this windows dialog.
Regards
jdoe
Two of those different styles are due to them being different versions of windows and/or IE. IIRC the shortcut buttons on the left side that you see in link #2 were introduced around IE 5.5 and also with Office (2000 i think).
I believe you can also supply a custom template for that dialog, which will explain link #1. Link #3 is just the old style (circa WinNT4 or Win2K).
Take a look at this topic (http://www.masm32.com/board/index.php?topic=5685.0)
Regards,
Darrel
Thanks for example Darrel