Solved

OnInitDialog is not called in WinCE!

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Show shut-down message as Windows 8 shuts down. 9 106
repeatSeparator  java  challenge 13 58
How to know only "File created" with EventLog 3 35
substring method in java 1 137
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 …
In this post we will learn different types of Android Layout and some basics of an Android App.
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.
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

726 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