CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: JohnWHagen

Search: Search took 0.05 seconds.

  1. Replies
    20
    Views
    4,124

    Re: How To Handle An Open Document

    Woo Hoo, progress! :thumb::wave:

    I added the OnUpdate() to the View class and now it executes. As the program starts it passes through the OnUpdate() function twice. Then when I load the file and...
  2. Replies
    20
    Views
    4,124

    Re: How To Handle An Open Document

    I added the OnInitialUpdate function to my main view class. It is being called as the program starts up, but not after I load the file.

    That tells me I need to make another call to the...
  3. Replies
    20
    Views
    4,124

    Re: How To Handle An Open Document

    Hi Guys,

    I am just in a dazed state and can't seem to even figure this out. If possible, could you please just build a simple project from the class wizard, add the GetWindowText() and...
  4. Replies
    20
    Views
    4,124

    Re: How To Handle An Open Document

    Ah ha, light bulb came on. Will give that a shot. Seems logical and jives with some other stuff I have been reading and trying.

    THANKS! :thumb:

    John
  5. Replies
    20
    Views
    4,124

    Re: How To Handle An Open Document

    Yes, I agree with the wizard and that it works. No arguments. But I still don't understand how to manipulate the data.

    I have a parse routine created and works on test data. So when I open a file...
  6. Replies
    20
    Views
    4,124

    Re: How To Handle An Open Document

    The code above should have showed CFooDoc::ReadFileData(void). It does reside in my Doc class.

    I understand about the Wait cursor, thanks.

    So, let's say I just delete the read file function all...
  7. Replies
    20
    Views
    4,124

    Re: How To Handle An Open Document

    I am using the CEditView for my view class.

    Where do I place the UpdateAllViews() code? Is it right after I open and read my file? Here is my code where I read the file:

    void...
  8. Replies
    20
    Views
    4,124

    Re: How To Handle An Open Document

    Hi Victor,

    Thanks for the information and the link.

    Since the document is not showing up in my window, what must I do to display it after reading it into memory? I have seen commands like...
  9. Replies
    20
    Views
    4,124

    How To Handle An Open Document

    First off I am still a noob so be nice :)

    I have an MFC program created from the app wizard. It is an MDI program, reading/writing text files using Serialize. I can read the document and know that...
Results 1 to 9 of 9





Click Here to Expand Forum to Full Width

Featured