-
February 17th, 2009, 12:55 PM
#1
Which Message Handler???
In my MDI application I have a certain function that needs to be called whenever a document is opened AND whenever the user switches from one already opened document window to a different already opened document window. Is there a single message handler that will cover both opening a document and switching doc windows???
If not, OnOpenDocument should cover the open doc case, what would be the handler that would cover the switching windows case???
-
February 17th, 2009, 01:06 PM
#2
Re: Which Message Handler???
Try WM_ACTIVATE for the view class.
-
February 17th, 2009, 01:17 PM
#3
Re: Which Message Handler???
Perfect! Thanks GCDEF!!!
I am using CView::OnActivateView
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|