Solved

OnInitDialog is not called in WinCE!

Posted on 1998-09-09
3
399 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
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 200 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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
configuration management 2 99
sameEnds challenge 3 106
countEvens challenge 2 58
Problem to event 3 49
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

707 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

14 Experts available now in Live!

Get 1:1 Help Now