Click here to Skip to main content
15,891,253 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Launching a wizard on application startup Pin
Jon Sagara18-Mar-02 13:59
Jon Sagara18-Mar-02 13:59 
GeneralRe: Launching a wizard on application startup Pin
Nish Nishant18-Mar-02 14:02
sitebuilderNish Nishant18-Mar-02 14:02 
GeneralRe: Launching a wizard on application startup Pin
Jon Sagara19-Mar-02 9:50
Jon Sagara19-Mar-02 9:50 
GeneralRe: Launching a wizard on application startup Pin
Derek Waters19-Mar-02 11:23
Derek Waters19-Mar-02 11:23 
GeneralPlaying MIDI notes Pin
18-Mar-02 12:35
suss18-Mar-02 12:35 
GeneralModified CFileDialog Pin
RK_200018-Mar-02 12:22
RK_200018-Mar-02 12:22 
GeneralRe: Modified CFileDialog Pin
Joaquín M López Muñoz18-Mar-02 13:21
Joaquín M López Muñoz18-Mar-02 13:21 
GeneralRe: Modified CFileDialog Pin
18-Mar-02 18:01
suss18-Mar-02 18:01 
Hi there,

I did the following:

a) I created a dialog class. I added a couple of windows controls and created member variables out of them.

b) I then modified my class to derive off CFiledialog instead. In addition, I added the DECLARE_DYNAMIC(CMyFileDialog) to the beginning of my class declaration and I added the IMPLEMENT_DYNAMIC to the beginning of my class definition.

It appeared that having a CFileDialog::OnInitDialog() would cause an error so I took it out as well.

At the end, I still get the big CFileDialog anytime I call this class and not much more.

The steps I followed sort of match what there is at :

http://msdn.microsoft.com/visualc/productinfo/previous/vc6/tips/default.asp

Any ideas what I may be doing wrong? or is this all you can get?

The only difference I see is that in my constructor I haven't included the following:

m_ofn.Flags |= OFN_ENABLETEMPLATE | OFN_PATHMUSTEXIST |
OFN_FILEMUSTEXIST | OFN_SHAREAWARE | OFN_ALLOWMULTISELECT;
m_ofn.lpTemplateName = MAKEINTRESOURCE(IDD_ABOUTBOX1);

GeneralFile System for both Linux and Windows platforms Pin
18-Mar-02 12:20
suss18-Mar-02 12:20 
GeneralRe: File System for both Linux and Windows platforms Pin
Joaquín M López Muñoz18-Mar-02 13:28
Joaquín M López Muñoz18-Mar-02 13:28 
GeneralRe: File System for both Linux and Windows platforms Pin
Nish Nishant18-Mar-02 13:45
sitebuilderNish Nishant18-Mar-02 13:45 
GeneralRe: File System for both Linux and Windows platforms Pin
19-Mar-02 10:56
suss19-Mar-02 10:56 
GeneralRe: File System for both Linux and Windows platforms Pin
Nemanja Trifunovic19-Mar-02 11:05
Nemanja Trifunovic19-Mar-02 11:05 
QuestionHow to Send an email w/ MAPI Pin
Aaron Schaefer18-Mar-02 12:14
Aaron Schaefer18-Mar-02 12:14 
AnswerRe: How to Send an email w/ MAPI Pin
Joaquín M López Muñoz18-Mar-02 13:42
Joaquín M López Muñoz18-Mar-02 13:42 
GeneralRe: How to Send an email w/ MAPI Pin
Aaron Schaefer19-Mar-02 6:42
Aaron Schaefer19-Mar-02 6:42 
Generalproblem Pin
Steve L.18-Mar-02 11:22
Steve L.18-Mar-02 11:22 
GeneralRe: problem Pin
Tim Smith18-Mar-02 11:47
Tim Smith18-Mar-02 11:47 
GeneralRe: problem Pin
Roger Wright18-Mar-02 12:38
professionalRoger Wright18-Mar-02 12:38 
GeneralRe: problem Pin
Christian Graus18-Mar-02 14:20
protectorChristian Graus18-Mar-02 14:20 
GeneralRe: problem Pin
Roger Wright18-Mar-02 14:45
professionalRoger Wright18-Mar-02 14:45 
GeneralRe: problem Pin
Christian Graus18-Mar-02 22:41
protectorChristian Graus18-Mar-02 22:41 
GeneralRe: problem Pin
Nish Nishant18-Mar-02 13:48
sitebuilderNish Nishant18-Mar-02 13:48 
GeneralRe: problem Pin
Tomasz Sowinski18-Mar-02 22:55
Tomasz Sowinski18-Mar-02 22:55 
GeneralRe: problem Pin
Nish Nishant18-Mar-02 23:21
sitebuilderNish Nishant18-Mar-02 23:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.