CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 1999
    Location
    Oklahoma
    Posts
    263

    How do I get a Window Handle

    I am trying to get the the handle for the present window, from inside the Serialize function within the Doc class. This is what i am using:CWnd* m_pMainWnd = GetParent();

    but it doesn't work. I'm at a loss as to what I should use. Any help would be greatly appreciated!


    Still trying to get past the learning curve on this end...

    John Hagen

  2. #2
    Join Date
    Jan 2001
    Location
    Germany
    Posts
    222

    Re: How do I get a Window Handle

    Uhm... Wouldn't it make more sense to ask your question in the C++ DB?

    ----------------
    You can contact me directly at [email protected]
    Hey, and... don't forget your parsley cause you can't eat your dog after having stolen him from some animal shelter and having drowned him in the Atlantic Ocean.
    Teamwork Software - Stuff That Does Something

  3. #3
    Join Date
    May 1999
    Location
    Oklahoma
    Posts
    263

    Re: How do I get a Window Handle

    Yep, my mistake. Selected the wrong discussion group. Color me embarrassed. Sorry...

    Still trying to get past the learning curve on this end...

    John Hagen

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