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

Thread: Console-Hwnd

  1. #1
    Guest

    Console-Hwnd

    I've created a Console application (without MFC),
    how do I get the HWND of this console-window ?

    Thanks,
    Rick Blommers <[email protected]>



  2. #2
    Join Date
    Aug 1999
    Location
    Sweden
    Posts
    7

    Re: Console-Hwnd

    hello!

    Try hwnd=FindWindow(NULL,"title"); , where title is the window title of the console!

    it might work


  3. #3
    Join Date
    Aug 1999
    Location
    Kerala, India
    Posts
    20

    Re: Console-Hwnd



    Try GetStdHandle()

    Ayesman Bhava

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