Skip to content

Commit

Permalink
Added all files, prepared repository to just clone and develop
Browse files Browse the repository at this point in the history
  • Loading branch information
RecoX committed Apr 4, 2019
1 parent 173088d commit 8952673
Show file tree
Hide file tree
Showing 121 changed files with 26,063 additions and 0 deletions.
Binary file added AOSetup.exe
Binary file not shown.
419 changes: 419 additions & 0 deletions Balance/Oficial 1.0.dat

Large diffs are not rendered by default.

419 changes: 419 additions & 0 deletions Balance/Oficial 13.0.dat

Large diffs are not rendered by default.

42 changes: 42 additions & 0 deletions CODIGO/Application.bas
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
Attribute VB_Name = "Application"
'**************************************************************
' Application.bas - General API methods regarding the Application in general.
'**************************************************************

'**************************************************************************
'This program is free software; you can redistribute it and/or modify
'it under the terms of the Affero General Public License;
'either version 1 of the License, or any later version.
'
'This program is distributed in the hope that it will be useful,
'but WITHOUT ANY WARRANTY; without even the implied warranty of
'MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
'Affero General Public License for more details.
'
'You should have received a copy of the Affero General Public License
'along with this program; if not, you can find it at http://www.affero.org/oagpl.html
'**************************************************************************


Option Explicit

''
' Retrieves the active window's hWnd for this app.
'
' @return Retrieves the active window's hWnd for this app. If this app is not in the foreground it returns 0.

Private Declare Function GetActiveWindow Lib "user32" () As Long

''
' Checks if this is the active (foreground) application or not.
'
' @return True if any of the app's windows are the foreground window, false otherwise.

Public Function IsAppActive() As Boolean
'***************************************************
'Author: Juan Martín Sotuyo Dodero (maraxus)
'Last Modify Date: 03/03/2007
'Checks if this is the active application or not
'***************************************************
IsAppActive = (GetActiveWindow <> 0)
End Function
Loading

0 comments on commit 8952673

Please sign in to comment.