Solved

OnOpenDocument Query

Posted on 1998-03-26
1
276 Views
Last Modified: 2013-11-20
In my CDocument class in OnOpenDocument() how do i specify a default directory and file extension for the files to be shown in the open file dialog box?  

Thanks

Jimbo
0
Comment
Question by:jimbo011697
1 Comment
 
LVL 7

Accepted Solution

by:
galkin earned 50 total points
ID: 1317244
Use SetCurrentDirecory to set default directory. Extension is termined by your application document association. To change this behavoiur you must override CWinApp::OnFileOpen
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
repeatEnd java challenge 42 85
Whole sheet autoscrub still needed 19 54
maxBlock challenge 30 146
haveThree challenge 22 123
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
In this post we will learn different types of Android Layout and some basics of an Android App.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question