[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

How to get event when modeless dialog is selected again.

Posted on 1998-08-25
1
Medium Priority
?
213 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 400 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
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.
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?

873 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