Classic Shell http://www.classicshell.net/forum/ |
|
common dialog!! http://www.classicshell.net/forum/viewtopic.php?f=8&t=39 |
Page 1 of 1 |
Author: | conan.conan [ Mon Jan 07, 2013 9:54 pm ] |
Post subject: | common dialog!! |
hi..i love classic shell so much..we have got the function to make address bar to combobox drop down like XP.. ->how can we do .. with common dialog with the same function when open/save file... thanks.. |
Author: | Ivo [ Mon Jan 07, 2013 9:57 pm ] |
Post subject: | Re: common dialog!! |
Not possible, here's why: http://www.classicshell.net/faq/#explorer_saveas |
Author: | Jcee [ Wed Jan 09, 2013 8:13 am ] |
Post subject: | Re: common dialog!! |
ive been wondering about this (not the why as i read yours, but more of a how to get around without unleashing all hell) i know you cant add it to the save dialogs because they could be modified, but is there a way to check if they are modified and if not add it (since 90% of them arnt modified as far as i can tell), and i asume code injection is a bad idea? |
Author: | conan.conan [ Thu Jan 10, 2013 12:00 am ] |
Post subject: | Re: common dialog!! |
Ivo wrote: Not possible, here's why: http://www.classicshell.net/faq/#explorer_saveas hix..that's a pity!! but..any way.. i love classic shell |
Author: | rdefulio [ Tue Oct 15, 2013 11:55 am ] |
Post subject: | Re: common dialog!! |
I'd like to re-open this conversation with a modified version of this request -- I've been fighting the common dialog battle for a while. It is possible to subclass the common dialog box at the time that it's created, and then intercept select components of the dialog box and make them invisible, or change their class to a read-only style. For example, the standard 2008/2012 common dialog box allows you to type any old thing you want in the top section, like 'cmd.exe'. And, if you aren't using AppLocker to restrict cmd.exe from running, your user's can quickly and easily get to a command prompt. This of course opens up a whole can of worms because windows runs your login script with cmd.exe so that gets blocked as well. In a terminal server environment this becomes a big problem. I've heard of enterprise-level solutions to "locking down" the common dialog box, but they also come with enterprise-level pricing which is impossible for a small company like ours to justify. For our in-house applications, the only solution I had was to subclass the common dialog box each and every time I used it in code, which is a management nightmare. But, it works. Here's a 'standard' common dialog box raised by the application without subclassing -- Here is the same dialog after my code intercepts the call to the common dialog, subclasses the form, and then "hides" some of the naughty features -- This is an extremely low tech solution to the problem. However, there is no solution for other applications whose source code I don't have (like 'notepad.exe'). Some options that I think could be implemented by some program that already has the ability to hook into shell level actions (*cough* classicshell *cough*) would be --
Note that OS versions prior to 2008 also had the following commondialog options which are no longer respected by Microsoft
I don't think a system wide "replacement" of the common dialog box is feasible for all the reasons mentioned in the FAQ. There are just too many combinations, and the common dialog api exposes different functionality based on the "size" the structure passed to it, for backwards compatibility. The combinations are endless. But within a narrow set of parameters I think its possible to target specific graphical elements on the form at the time the dialog is created, and then use some windows messaging to hide them. I personally don't have the platform or the means to try and build my own system wide solution to the problem but I'd gladly work with anyone who wanted to try and tackle this at the system wide level. Thanks for listening! Ron |
Author: | Jcee [ Wed Oct 16, 2013 6:41 am ] |
Post subject: | Re: common dialog!! |
Ha I used to do that all the time with the Kiosk at my school, so I could do more than just the 5 locations it would otherwise let you visit |
Author: | conan.conan [ Wed Mar 26, 2014 11:41 pm ] |
Post subject: | Re: common dialog!! |
have got another idea...i think that, can you modify this common dialog only for MS office, because it's usually to use..like the way you did with IE option..hope that have more one tab for MS Office with classic common dialog..Many thanks... |
Page 1 of 1 | All times are UTC - 8 hours [ DST ] |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |