Solved

How to get event when modeless dialog is selected again.

Posted on 1998-08-25
1
203 Views
Last Modified: 2013-11-19
Dear  experts

I'm using VC++5.0.
How to get event when modeless dialog is selected again.
When I pop a modeless dialog, then select another area,
then select modeless again, I don't know how I can catch event. There may be getfocus or something ???
0
Comment
Question by:okg
1 Comment
 
LVL 1

Accepted Solution

by:
motigust earned 100 total points
ID: 1321249
You may override the OnActivate methoud (derived from CWnd), That method is called whan a CWnd object is being activated or deactivated. (You may use the wizard to override the WM_ACTIVATE message)


0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Installing Microsoft R server on REDHAT or SUSE Linux 4 131
Unix / Linux grid computing 5 149
changeXy challenge 13 68
Way to decrease size of apk file 9 46
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
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.

863 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

20 Experts available now in Live!

Get 1:1 Help Now