Re: File extension at IFileSourceFilter

From: The March Hare [MVP] (phil_at_ndsm.maps)
Date: 10/29/04


Date: Fri, 29 Oct 2004 12:21:06 -0600

On Fri, 29 Oct 2004 17:37:35 +0200, digireal wrote:

> I use the IFileSourceFilter the open a source file. Ok, that works very
> well, but in the file selcetion dialog I have to switch to file type to
> 'All Files (*.*)', cause my file type is not known '*.lsp'.
>
> How can I modify the dialog to display only files with the extension
> '*.lsp'?

Are you talking about in GraphEdit or your own application?

IFileSourceFilter does not provide any dialog for opening files that I am
aware of, it only has two methods:

GetCurFile
Load

Neither of which provides GUI.

-- 
Please read this before replying:
1. Learn about newsgroups - http://dev.6581.com/newsgroups.html
2. Trim & respond in-line (please don't top post or snip everything)
3. Benefit others - follow up if you are helped or you found a solution


Relevant Pages

  • Re: Auto-install packages
    ... > display of long lines in the source file. ... EditPro makes this easy, and configurable by file type. ... an undo stack for each open ...
    (comp.text.tex)
  • Re: Opinions/Experience re: Maxtor Onetough II external drive?
    ... > Best Buy but nevermind, it's turned into a Bait 'n Switch, false advertising ... on display at the $1099 price, but I started poking around with ... the control panel and device manager and saw that the model on display ...
    (rec.audio.pro)
  • Re: Edit Menu - why is the Link menu is grayed out?
    ... the file type must be ... system where Word is trying to display it. ... [MVP] ... - insert menu/object ...
    (microsoft.public.word.docmanagement)
  • Re: First Project Pin - Robocop
    ... tracked the switch problem to a header, it was either dirty or intermitant, ... Lower display is dead and upper ... > credit button doesn't seem to work. ... RUST RUST RUST, I've never seen ...
    (rec.games.pinball)
  • Re: how to check whether Display variable is set or not
    ... you had warnings and strict enabled... ... exactly what value do you _want_ DISPLAY to have? ... code to accept whatever the correct string is. ... You may need to modify it to get it to work of course. ...
    (comp.lang.perl.misc)