Results 1 to 4 of 4

Thread: Please Help :( Regarding changing focus to a game

  1. #1

    Thread Starter
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    Well, if its another form, just do :

    Code:
    Form2.SetFocus
    - jamie
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  2. #2
    New Member
    Join Date
    Feb 2001
    Posts
    1

    Red face Well...

    Im creating a third person program for a mainstream game. i wanted to know how i can go about getting the window handle and/or title bar of the game window to use that to set focus. im not quite sure which API functions to call from User32. please help

  3. #3

    Thread Starter
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    If you search in the main vb forum you'll see ...

    - jamie
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  4. #4

    Thread Starter
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    Also, if I follow what you're trying to do,
    the term is 'third party'. 'third person' refers to viewing the character in the game from a stationary fixed position somewhere in the 'room'.

    - jamie
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

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