CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2009
    Posts
    399

    Save CDocument programatically

    How can I save an CDocument programatically, without to bring him to the top, only if I get a pointer to that document ? I mean if I have several document opened into a MDI app, and if I have a pointer to one of them, to save it without to turn them as active childs ?

    Thank you.

  2. #2
    GCDEF is offline Elite Member Power Poster
    Join Date
    Nov 2003
    Location
    Florida
    Posts
    12,635

    Re: Save CDocument programatically

    What happens if you call OnSaveDocument?

  3. #3
    Join Date
    Jan 2009
    Posts
    399

    Re: Save CDocument programatically

    I will try what you said and let you know what I have done. Thank you.

  4. #4
    Join Date
    Jan 2009
    Posts
    399

    Re: Save CDocument programatically

    Is working now ... thanks.
    Last edited by mesajflaviu; March 3rd, 2014 at 05:40 AM.

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