Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • December 10, 2016, 12:29:09 PM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: IDEA: force Common File Dialog instead of Common Item Dialog?  (Read 2497 times)

ConstanceJill

  • Supporting Member
  • Joined in 2012
  • **
  • Posts: 87
    • View Profile
    • Donate to Member
IDEA: force Common File Dialog instead of Common Item Dialog?
« on: September 11, 2014, 08:39:32 AM »
Hello there .o/

I've been looking for a while but didn't find any way to force programs under Windows 7 to use the "Common File Dialog" (as shown here: http://msdn.microsof...60%28v=vs.85%29.aspx ) instead of the newer "Common item Dialog" ( illlustrated there: http://msdn.microsof...13%28v=vs.85%29.aspx ).

Would anyone here know of some way, or perhaps be able to create some sort of "hack"/utility which would do that?
I really hate the newer dialog that shows that whole tree filled with folders I don't usually need to access, while the older dialog and its customizable "Places bar" was just fine.

Thanks for your replies :}

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,290
    • View Profile
    • Miles Ahead Software
    • Donate to Member
Re: IDEA: force Common File Dialog instead of Common Item Dialog?
« Reply #1 on: September 11, 2014, 08:58:12 AM »
The only way I know would be to use older versions of software written for XP.  They would not know about the new functions.

Other than that all I can see is ask the developer for a setting telling which dialog you would rather use.  But I think the demand for the extra coding would be very small.  It's risking introducing errors to nearly zero benefit.

Perhaps if the application is open source you could try to get someone to code a variation.

ConstanceJill

  • Supporting Member
  • Joined in 2012
  • **
  • Posts: 87
    • View Profile
    • Donate to Member
Re: IDEA: force Common File Dialog instead of Common Item Dialog?
« Reply #2 on: September 11, 2014, 02:51:10 PM »
So if I understand right, it's not possible to have an app that monitors when other programs call that huh... I'll call it "function"... from the system and somehow "redirect" their call to the other function ? :/

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,290
    • View Profile
    • Miles Ahead Software
    • Donate to Member
Re: IDEA: force Common File Dialog instead of Common Item Dialog?
« Reply #3 on: September 11, 2014, 03:06:56 PM »
So if I understand right, it's not possible to have an app that monitors when other programs call that huh... I'll call it "function"... from the system and somehow "redirect" their call to the other function ? :/

I don't see how you could do it without creating hacked system DLLs.  Such DLLs would likely be flagged as malware.  If anyone would know it's probably programmers on CodeProject

In their wisdom Microsoft created file open and save dialogs as closed code.  Meaning you cannot subclass them to get the default behavior for free and just add the new stuff you want.  That's why custom functions sold to programmers aren't found in free code libraries.  They usually cost a few hundred bucks.

No quick fix that I know of.


app103

  • That scary taskbar girl
  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 5,666
    • View Profile
    • App's Apps
    • Read more about this member.
    • Donate to Member
Re: IDEA: force Common File Dialog instead of Common Item Dialog?
« Reply #4 on: September 11, 2014, 07:13:01 PM »
And here I wish I had a way to do the reverse, when using older software. I really like the newer Common Item Dialog.

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 10,341
    • View Profile
    • Donate to Member
Re: IDEA: force Common File Dialog instead of Common Item Dialog?
« Reply #5 on: September 12, 2014, 04:25:05 AM »
No solutions here, but this and reply (in the Bvckup thread) about open/save dialogues might be of interest.
Tom

ConstanceJill

  • Supporting Member
  • Joined in 2012
  • **
  • Posts: 87
    • View Profile
    • Donate to Member
Re: IDEA: force Common File Dialog instead of Common Item Dialog?
« Reply #6 on: September 12, 2014, 05:08:16 AM »
Thanks, I'll probably ask on CodeProject then.
Also saw there was a similar thread on the ClassicShell forums a few months ago...

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,290
    • View Profile
    • Miles Ahead Software
    • Donate to Member
Re: IDEA: force Common File Dialog instead of Common Item Dialog?
« Reply #7 on: September 12, 2014, 05:38:00 AM »
And here I wish I had a way to do the reverse, when using older software. I really like the newer Common Item Dialog.

The only one that really frosts my butt is the BrowseForFolder.  It's even worse if the programmer doesn't set the bit that adds the edit box. It would be so easy to subclass the FileOpen Dialog if they didn't seal it.   Talk about a clunky dialog.  Yuck!