Solved

Overriding CFileDialog members

Posted on 1997-09-16
1
247 Views
Last Modified: 2008-03-03
I want to derive a class from CFileDialog so I can override the function that handles the "New folder" button.  What function is that, or what is the message that the button sends?  I cannot figure out exactly what to override.  (The virtual functions listed as overrideable do not include this.)
0
Comment
Question by:DenMan
1 Comment
 
LVL 10

Accepted Solution

by:
RONSLOW earned 10 total points
ID: 1169854
Handling the button would not be enough, as you can also create a new folder by right-clicking in the list control in the file open dialog.

I don't believe it is possible to trap this action anyway.

However, you can trap other events (like opening a folder or selecting a file) and can turn off controls all by writing an explorer-style hook procedure.

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

863 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

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now