Thread View: comp.os.ms-windows.programmer.win32
5 messages
5 total messages
Started by Demmel
Tue, 13 Oct 1998 00:00
How to replace/modify common file dialog ?
Author: Demmel
Date: Tue, 13 Oct 1998 00:00
Date: Tue, 13 Oct 1998 00:00
11 lines
1294 bytes
1294 bytes
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 ? Herbert
Re: How to replace/modify common file dialog ?
Author: ChainsaW
Date: Tue, 13 Oct 1998 00:00
Date: Tue, 13 Oct 1998 00:00
10 lines
1353 bytes
1353 bytes
Try GetOpenFileName and GetSaveFileName functions. You can modify default Open/Save dialog behavior via setting several attributes in OPENFILENAME structure, you can also add custom dialog template (like dialog with preview as some graphics programs have) and more. HTH, ChainsaW
Re: How to replace/modify common file dialog ?
Author: Bruce Jackson
Date: Wed, 14 Oct 1998 00:00
Date: Wed, 14 Oct 1998 00:00
26 lines
1667 bytes
1667 bytes
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 ? > >Herbert > > >
Re: How to replace/modify common file dialog ?
Author: hdemmel
Date: Thu, 15 Oct 1998 00:00
Date: Thu, 15 Oct 1998 00:00
33 lines
2225 bytes
2225 bytes
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
Re: How to replace/modify common file dialog ?
Author: 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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads