Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: How to get focus on required window ?

  1. #1
    Junior Member Newbie
    Join Date
    Jul 2002
    Location
    India
    Posts
    7

    How to get focus on required window ?

    Hi friends,

    I am just a beginner in this field. Kindly give me suggestions for my problem.

    I am using Visual Fortron 90. I have opened more than one window . I want to get the focus to the specific window as per request.

    What is the code for it to get focus on required window?


    [This message has been edited by Amol Joshi (edited 07-01-2002).]

  2. #2
    Intern Contributor
    Join Date
    Aug 2001
    Posts
    62

    Re: How to get focus on required window ?

    HWND SetFocus(
    HWND hWnd // handle to window to receive focus
    );

  3. #3
    Junior Member Newbie
    Join Date
    Jul 2002
    Location
    India
    Posts
    7

    Re: How to get focus on required window ?

    Thanks for your help.
    I can now focus the required window.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •