Access a Specific View in MainFrame :: MFC

This is a discussion on Access a Specific View in MainFrame :: MFC within the Windows Programming forums, part of the Platform Specific Boards category; Hi.
I am working on a multiview program (two views). The design is done; however, I just found out I ...

Access a Specific View in MainFrame :: MFC

Hi.

I am working on a multiview program (two views). The design is done; however, I just found out I cannot cast GetActiveView() in main to any view I want. For example, let say I am in main and the active view is View#1, but I want to send a message or call a function in View#2.