Re: Which messages should I delegate?
- From: Joseph M. Newcomer <newcomer@xxxxxxxxxxxx>
- Date: Thu, 29 Jun 2006 12:43:05 -0400
Actually, I would not have delegated any of the messages to the view. I would handle them
in the CDIalog subclasses for each tab control, and just make sure I had a document
reference.
joe
On Tue, 27 Jun 2006 17:48:04 -0700, Juan Dent <Juan_Dent@xxxxxxxxxxxxx> wrote:
Hi,Joseph M. Newcomer [MVP]
This seems like a tough one. I have placed one dialog embedded as a child
for each tab item in a tab control. However I need everything to work as
before, i.e. as when all the controls now contained in the dialog (per tab)
were rather contained directly by the CView subclass. -- You know, dealing
with the little real support MFC has for tabbed controls.
Which messages should I send the CView class and which should I process in
the dialog?
One thing seems clear: all notifications from child controls should be
relayed to the CView class. Yet, there are so many possible notifications...
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.
- Prev by Date: Re: How to create a CEdit custom Scroll bar
- Next by Date: Re: #if in .rc file
- Previous by thread: Re: Which messages should I delegate?
- Next by thread: Displaying JPEG images in CListCtrl
- Index(es):
Relevant Pages
|