Results 1 to 2 of 2

Thread: get main window handle?

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Sep 2005
    Posts
    1,547

    get main window handle?

    How do you get the main windows handle in c++? in .net it is easy but how in c++?

  2. #2
    Addicted Member Kal-El's Avatar
    Join Date
    Jun 2007
    Location
    Fortress of solitude
    Posts
    179

    Re: get main window handle?

    There are a docens of way to do it:
    1. GetParent.
    2. GetWindow.
    3. FindWindow.
    4. If you are using WndProc or DialogProc, you should use the first paramater to use the window handle.

    «Source Code»«plugins»«skin»«fav apps»«Winamp en español»«Nsis en español»
    So what if your signature move is driving a tractor? I think it's adorable. - Lois ("Crimson")
    Don't forget to when your question is resolved ...and the people who help

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