Solved

OnInitDialog is not called in WinCE!

Posted on 1998-09-09
3
406 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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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
Expand to include initial dialog with two choices. 9 80
maven archtype selection in eclipse 1 57
sum28 challenge 31 115
unix example issues 18 98
Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
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.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

839 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