Jump to content


Photo

Gmfocus Dll


  • Please log in to reply
8 replies to this topic

#1 tangibleLime

tangibleLime

    Lunatic

  • GMC Elder
  • 2520 posts
  • Version:GM:HTML5

Posted 02 December 2005 - 12:56 AM

GMFocus DLL

Information
This DLL was made upon request. It can do a few things with window handles and window focusing.

Functions
Get:
- if focus
- if active window
- if foreground window
Set:
- focus
- active window
- foreground window
HWND:
- find from class/title
- find from point

There might be some other I forgot.


Special Notes
Use the SetForeground function instead of the bringtotop function.

Download
Click Here to Download
  • 0
Posted ImagePosted Image

#2 jontyl

jontyl

    JJTGames

  • New Member
  • 514 posts

Posted 11 June 2008 - 06:43 PM

Thank you for this

Very useful
  • 0
"The box said 'Requires Windows XP or better'. So I installed LINUX..."

#3 IceMetalPunk

IceMetalPunk

    InfiniteIMPerfection

  • GMC Elder
  • 9603 posts
  • Version:GM:Studio

Posted 12 June 2008 - 06:21 PM

Especially the "if active window" check, in games like 3D FPS's, where the mouse must be set to the center of the window...without this DLL, the mouse would be stuck even with another program as the active window.

Good job :GM026:

-IMP :GM006: :GM075:
  • 0

:GM123: Are you an artist who likes creating original creature designs? Maybe you can help out with Elementa here! Give it a look; you might like the idea :)

:bunny: :excl: :bunny: :excl: :bunny: :excl: :bunny: :excl: :bunny: :excl: :bunny: :excl: :bunny: :excl: :bunny: :excl: :bunny: :excl: :bunny:


#4 Zezuken

Zezuken

    AKA: Warriorccc0

  • GMC Member
  • 2799 posts
  • Version:Unknown

Posted 12 June 2008 - 06:30 PM

2+ year bump....

oh well, I suppose at least more people will see this.
  • 0

#5 Arial

Arial

    GMC Member

  • Banned Users
  • 580 posts
  • Version:GM8

Posted 21 June 2008 - 07:23 PM

I tried and nothing happend.

:(

Tell me what I add in the code to make it work?
Screw everyone who puts my quotes in his signature to make fun out of me.

#6 Nerdboy

Nerdboy

    Game Maker Nerd

  • New Member
  • 126 posts

Posted 05 January 2009 - 09:08 AM

This is exactly what I am after. Thanks a lot!
  • 0

#7 lostdarkwolf

lostdarkwolf

    GMC Member

  • GMC Member
  • 413 posts
  • Version:GM8.1

Posted 09 January 2009 - 08:23 PM

someone should give a screen shot. it looks cool but i'm on school servers. i cant download it.
  • 0

Colorado finally did it! they legalized the recreational!


#8 petersvp

petersvp

    GMC Member

  • GMC Member
  • 129 posts

Posted 24 February 2009 - 10:39 PM

Nice DLL even that almost ever programmer writes one such by default:] thanks anyway.
  • 0

#9 DefuzionGames

DefuzionGames

    GMC Member

  • GMC Member
  • 1460 posts
  • Version:Unknown

Posted 13 February 2013 - 10:38 PM

ok this is good. it worked fine but now the dll define functions dont work for some reason.
  • 0