Article View: comp.os.ms-windows.programmer.win32
Article #2171Re: How to replace/modify common file dialog ?
From: Walt Dexter
Date: Sat, 17 Oct 1998 00:00
Date: Sat, 17 Oct 1998 00:00
54 lines
3204 bytes
3204 bytes
In article <705fkg$fpc$1@nnrp1.dejanews.com>, hdemmel@my-dejanews.com says... > >In article <36245b09.0@news.via.at>, > "Bruce Jackson" <bruce.jackson@update-marketing.com> wrote: >> There is a really good example that explains how to >> modify the common File dialog here. >> >> http://www.codeguru.com/dialog/cmdlg.shtml >> >> Bruce >> -- >> _______________________________ >> Bruce Jackson. >> bruce.jackson@update-marketing.com >> Vienna, Austria >> Demmel wrote in message <362353DB.474601BF@apanet.at>... >> >Hi ! >> > >> >Any ideas how to change the behavior of the common open/save file dialog >> > >> >used by most Win 95/98/NT applications ? I don't want to change the >> >style of the file dialog of an application I have to write but e.g. the >> >file dialog you get when you open a file with WRITE. >> > >> >Any suggestions ? > >Thank you for your response, but: I'm want to modify the open/save dialog >system wide (and not only for my application), that means I have to deal with >Sub/superclassed windows or with SetWindowsHookEx (I assume). So simply >modifying the dialog as suggested in your response is not enough. > >Herbert > >-----== Posted via Deja News, The Leader in Internet Discussion ==----- >http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum I sure as heck can't tell you exactly how to do it, but one alternative would be to write your own COMMDLG.DLL and COMDLG32.DLL system files. (I think I got the file names right!) I've got no idea if it's even doable, of course. A trick I played with the mouse driver under Win3.X was to write my own mouse driver, then have my driver load the original mouse driver for it to contribute what it needed to. (I was writing a touchscreen driver for a system that was also to have a mouse on it.) You could probably rename the original DLL files and call them as needed. Certainly not for the faint hearted, and I'm sure that this is something that Microsoft would most heartily recommend against. For that matter, I sure do. And if you were to sell me an application that did this, I would be most mightily p.o.-ed. So make sure that's what you want to do before you go doing it. Walt
Technical Details
Message-ID:
<708q32$q5f@sjx-ixn9.ix.netcom.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<362353DB.474601BF@apanet.at> <36245b09.0@news.via.at> <705fkg$fpc$1@nnrp1.dejanews.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 113dfb,4631d5985e984e25 X-Google-Attributes: gid113dfb,public X-Google-Thread: fd2c4,4631d5985e984e25 X-Google-Attributes: gidfd2c4,public X-Google-Thread: f5ca7,4631d5985e984e25 X-Google-Attributes: gidf5ca7,public X-Google-Thread: 110c1b,4631d5985e984e25 X-Google-Attributes: gid110c1b,public From: wdexterREMOVETHIS@ix.netcom.com (Walt Dexter) Subject: Re: How to replace/modify common file dialog ? Date: 1998/10/17 Message-ID: <708q32$q5f@sjx-ixn9.ix.netcom.com> X-Deja-AN: 401987215 References: <362353DB.474601BF@apanet.at> <36245b09.0@news.via.at> <705fkg$fpc$1@nnrp1.dejanews.com> Content-Type: Text/Plain; charset=US-ASCII Organization: ICGNetcom X-NETCOM-Date: Fri Oct 16 5:58:10 PM PDT 1998 Mime-Version: 1.0 Newsgroups: comp.os.ms-windows.programmer.win32,microsoft.public.win32.programmer.ui,borland.public.cppbuilder.winapi,microsoft.public.win32.programmer.kernel