?
Solved

OnInitDialog is not called in WinCE!

Posted on 1998-09-09
3
Medium Priority
?
409 Views
Last Modified: 2013-11-20
VC++5.0
WinCE toolkit
x86 emulation

Hi,
I wrote a class derived from CFileDialog.
The problem: the OnInitDialog() method is not called druring the DoModal() call.
I tried the same code within a Win32 app and my overridden OnInitDialog() is called!!!
Please help!
Regards dib.
0
Comment
Question by:dib
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 

Author Comment

by:dib
ID: 1321963
Edited text of question
0
 
LVL 23

Expert Comment

by:chensu
ID: 1321964
Use Spy++ to see if the WM_INITDIALOG message is sent.
0
 
LVL 1

Accepted Solution

by:
plebel earned 400 total points
ID: 1321965
did you try to trap the WM_INITDIALOG message or did you just overide the OnInitDialog() function.

Try catching the WM_INITDIALOG message first.  The ClassWizard  will create an OnInitDialog() function which will be catch by the application
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
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.
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses
Course of the Month15 days, 17 hours left to enroll

743 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