Re: Which messages should I delegate?

Tech-Archive recommends: Fix windows errors by optimizing your registry



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,

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...
Joseph M. Newcomer [MVP]
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.



Relevant Pages

  • Restricting entry on tab pages
    ... Description, Response, Follow-up, and Final Approval. ... Each section is on its own page of a tab control. ... Dim ctl As Control ... provision that allows a member of the Admins group to edit any controls. ...
    (microsoft.public.access.formscoding)
  • Re: Access 2007-Displaying Two Forms in One screen with tabs
    ... You can put the basic student information controls on the first page of the ... To put controls on a page of a tab control, click the tab for that page and ...
    (microsoft.public.access.forms)
  • Re: Subform requery - Still confused!
    ... The fact that you have a tab control doesn't really matter: your controls on ... >>> Does anyone know how to requery a subform from within another form. ... >>> Neil ...
    (microsoft.public.access.forms)
  • SetWindowTheme and Windows Form controls
    ... form, I've placed a Tab control, a button and a check box control. ... when I have Windows Theming enbabled (on Windows 2003 the Theming ... I'm interested in disabling the OS level theming for these standard controls ... The SetWindowTheme method does not seem to work ...
    (microsoft.public.dotnet.framework.windowsforms.controls)
  • SetWindowTheme & Windows Form controls
    ... form, I've placed a Tab control, a button and a check box control. ... when I have Windows Theming enbabled (on Windows 2003 the Theming ... I'm interested in disabling the OS level theming for these standard controls ...
    (microsoft.public.dotnet.framework.windowsforms.controls)