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

Search:

Type: Posts; User: JohnWHagen

Search: Search took 0.02 seconds.

  1. Replies
    20
    Views
    4,119

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

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

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

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

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

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

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

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

    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...
  10. Replies
    2
    Views
    1,816

    Re: Any Codejock Users Out there?

    Yes, I do have a view class and I can obtain somewhat limited control of the view. The view is a scroll window and I want to be able to read the lines of text, scroll the window up/down, know what...
  11. Replies
    2
    Views
    1,816

    Any Codejock Users Out there?

    I am finally getting back into writing code and need a little help. I still have the XTP ToolKit version 13. I am trying to do something very simple and for the life of me can't figure it out. Here...
  12. Re: Pointer/Reference to Class within a Class within a Class

    Thanks for the sample code. It does explain some of what I did not know.

    The code I am trying to understand is from a commercial vendor. I purchased it three years ago and they have since moved on...
  13. Re: Pointer/Reference to Class within a Class within a Class

    //------------------------------------------------------------------------
    // Summary:
    // This is helper class designed to manage a set of strings...
  14. Re: Pointer/Reference to Class within a Class within a Class

    It is a helper class in a Protected area. Not Static.

    John
  15. Pointer/Reference to Class within a Class within a Class

    I have encountered a problem I can't see to solve. I want to access a function and can't seem to find the right combination to get me there. Here is what I am looking at:
    ...
Results 1 to 15 of 15





Click Here to Expand Forum to Full Width

Featured