Here is a patch to extend the Win32 FileOpenSaveAs dialog to include an
image preview when used to Insert Pictures. It is stable on my system.
This dialog sort of breaks the xap-rules as it requires impexp headers and
libraries which are currently app-specific. I pointed to the headers via
relative positions instead of modifying the makefile.
Two things need to be cleaned up.
1) It doesn't support the SVG format. A couple of switches should fix
this (use UT_SVG_getDimensions function and bypass import if SVG file is
used)
2) Internationalization - I was unable to get the basic m_pSS to
initialize. It may have something to do with how the common control dialog
gets initialized. Therefore, I left it out of this patch all together. Any
help to correct this one would be appreciated as I have bumped my head
against the wall enough.
Cheers!
Michael D. Pritchett
newbie
Insert_Picture_Preview.patch