CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: SDI

  1. #1
    Guest

    SDI

    Hi !
    i want to call a function in my viewclass
    from my mainclass.
    how can i manage this ?
    thanks



  2. #2
    Join Date
    May 1999
    Location
    Republic of Korea
    Posts
    100

    Re: SDI

    I believe u are using SDI.
    How about "GetActiveView()"?

    God luck.

    Walter An


  3. #3
    Join Date
    Jul 1999
    Posts
    3

    Re: SDI

    CMyView* ptrView = ( CMyView*)AfxGetMainWnd();
    ptrView->Funct1();

    Try this code from frame, it may work

    good luck,
    Narayan Singh B.



    Singh

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured