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

Thread: Save CDocument programatically

  1. #1
    Join Date
    Jan 2009
    Posts
    64

    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,228

    Re: Save CDocument programatically

    What happens if you call OnSaveDocument?

  3. #3
    Join Date
    Jan 2009
    Posts
    64

    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
    64

    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
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center