Thread: Access a Specific View in MainFrame :: MFC

  1. #1
    Registered User
    Join Date
    Nov 2001
    Posts
    1,348

    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.

    How do you access *any* view, active or inactive, from main?

    Thanks,
    Kuphryn

  2. #2
    Registered User
    Join Date
    Jan 2011
    Posts
    1

    But can you plz tell me

    i want Divided the mainframe to 2 parts and make 2 views 1 for draw and one for Cformview (dialog)

    how you did it can you tell me.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. MFC insert into access db (CRecordset)
    By maes in forum Windows Programming
    Replies: 11
    Last Post: 12-23-2003, 08:49 PM
  2. Mfc Dao Access Database
    By LISANANA in forum Windows Programming
    Replies: 1
    Last Post: 07-03-2003, 01:18 PM
  3. MFC :: WM_SIZE message causes access violation?
    By SyntaxBubble in forum Windows Programming
    Replies: 1
    Last Post: 06-09-2003, 10:01 AM
  4. Handles to View Classes :: MFC
    By kuphryn in forum Windows Programming
    Replies: 0
    Last Post: 12-07-2002, 05:25 PM
  5. Accessing a Specific Text Line Inside CEditView :: MFC
    By kuphryn in forum Windows Programming
    Replies: 2
    Last Post: 04-14-2002, 08:12 PM