Solved

Overriding CFileDialog members

Posted on 1997-09-16
1
242 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
Comment Utility
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
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 learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.

762 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

9 Experts available now in Live!

Get 1:1 Help Now